SAML Authentication generates anonymous user session instead of authenticated user
Hi everyone,
We have done a successful integration of Okta with our 6.2 instance of AEM via the OOTB SAML Authentication handler.
The integration works great when executed directly on our publish instance via port 4503. However, when we perform the same actions via the dispatcher, the authenticated user session is not available in code. When we try to access the user, we find that, even though the new user is successfully created in the CRX via the SAML integration, the active user session is of the anonymous user - not the user we just authenticated!
Of course, I need to assume that there is a misconfiguration in the dispatcher but I could do with a steer of where to look for something that could be causing this behaviour.
Any thoughts welcome as always and thank you in advance for your time.