Closed DendyInsan closed 2 years ago
Finally I found the way to fix the problem. The cause problem of local.ERROR: DOMDocument::loadXML(): is the app cannot found the url in the Route List. You have really pay attention to the url in the saml2 setting especially if you use the middleware.
Hi I'm new in Laravel saml2,and I have problem when try this library. I always got error below: local.ERROR: DOMDocument::loadXML(): Couldn't find end of Start Tag Subj line 1 in Entity, line: 1 {"exception":"[object] (ErrorException(code: 0): DOMDocument::loadXML(): Couldn't find end of Start Tag Subj line 1 in Entity, line: 1 at C:\inetpub\wwwroot\comex\vendor\onelogin\php-saml\src\Saml2\Utils.php:90)
fyi I have succeed get the Information from the IDP when I dd in the EventServiceProvider. But Always error when I want to Auth:login. Here is My EventServiceProvider.php:
I Really do not have any idea to solved this error. If you have same experience, I really appreciate if you want to share. Thanks in advance.