Saml Login fails : getting error "com.adobe.granite.auth.saml.util.SamlReader Document is invalid: no grammar found."

Avatar

Avatar

anushap40132887

Avatar

anushap40132887

anushap40132887

12-06-2018

I have configured saml in aem 6.3 following this documentation, http://www.aemstuff.com/blogs/july/saml.html

It is working fine in publish, but in author I am getting below exception some times and login fails.

12.06.2018 10:39:13.096 *ERROR* [qtp45451009-84563] com.adobe.granite.auth.saml.util.SamlReader Document is invalid: no grammar found.

12.06.2018 10:39:13.096 *ERROR* [qtp45451009-84563] com.adobe.granite.auth.saml.util.SamlReader Document root element "Response", must match DOCTYPE root "null".

and in the page it shows,

This page contains the following errors:

error on line 1 at column 1: Document is empty

Below is a rendering of the page up to the first error.

Anyone faced similar issue? Please advice?

Replies

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.7K

Likes

1.0K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.7K

Likes

1.0K

Correct Reply

1.1K
kautuk_sahni
Community Manager

13-06-2018

Are you getting just those 2 errors in the log or any more? Please share other errors also if there are somemore.

If those are only 2 then See:SAML Grammar response Error/Warning

-Kautuk

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

13-06-2018

Avatar

Avatar

cqsapientu69896

Avatar

cqsapientu69896

cqsapientu69896

03-07-2018

Hi anushap40132887

We are getting the same error in the logs, but SAML authentication is working fine. Could you please let us know if you were able to find resolution of this issue?

Thanks

Avatar

Avatar

anushap40132887

Avatar

anushap40132887

anushap40132887

08-07-2018

Thanks cqsapientu69896437 for the reply. I have removed the saml configuration and reconfigured again and it started working for me after few hours.