AEM SAML Integration with Azure Fails on Last Step
Hey Guys,
I'll try to detail the best I can in here.
So, I'm running into a problem with my SAML integration
I configured every one of the steps bellow:
- uploaded the certificate in the truststore AND replicated
- created a keystore in the authentication-service user AND activated the user
- created the OSGI config for the SAML Authenticator
- listed the hosts in the Sling Referrer
- configured the CROSS OSGI config
- listed the path for the reply URL in the allow list of the filters in Apache
- Configured the Sling Authenticator to add authentication to the necessary paths
After all that I'm able to see the integration happening, the azure login displays correctly and I'm able to login with azure, the problem happens only in the last step the one for the POST, the call happens but after that the user keeps logged out.
Important: the reply URL is configured without the .html extension in Azure side so I had to make a redirect using Apache to add the .html extension.
Important: I'm using SAML Tracer to intercept the requests and I noticed that in the POST the cookie login-token does not come with the Response Headers