- Issue created by @Jana Shreyasee
- π³π±Netherlands roderik Amsterdam,NL / Budapest,HU
"SAML login is happend"
"\Drupal::currentUser()->id(); => it shows 0"
These two things are mutually exclusive.
When SAML login happens (i.e. you arrive back at the /saml/acs endpoint and the login is processed), SamlService code eventually always throws an error, or calls $this->externalAuth->userLoginFinalize(). (See the code, if curious.)
After $this->externalAuth->userLoginFinalize() is called, the current user must never be 0.
I don't know what else to tell you.