Relay State is not Working in Adobe AEM when integrated with Okta for SSO | Community
Skip to main content
Level 3
January 3, 2024
Solved

Relay State is not Working in Adobe AEM when integrated with Okta for SSO

  • January 3, 2024
  • 2 replies
  • 796 views

Hi Team,

Happy New Year every one!

I am facing one issue related to relay state in OKTA.  Below are the details.

Scenario : When user is not-logged-in and Requested page is Authenticated Page and Page Got cached in Dispatcher ( Permission Sensitive Caching in AEM)

 


When request came to dispatcher for authenticated pages, it will call Auth check servlet for checking Authentication and Authorization.

 

If user is not authenticated, then user will be redirected to login page in Auth Check servlet.

 

Upon successfully logging in, users should be automatically redirected back to the original page, ensuring a smooth and uninterrupted transition between authentication and accessing the desired content.

 

But, user is always going to home page(defaultRedirectUrl)  which we configured in com.adobe.granite.auth.saml.SamlAuthenticationHandler.   

 

Any Inputs/Suggestion on this.

Thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Peter_Puzanovs

Hi Prasad,

 

Kindly check following KB[1] for more information,

[1] https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-17476.html?lang=en

 

Regards,

Peter

2 replies

Peter_Puzanovs
Community Advisor
Peter_PuzanovsCommunity AdvisorAccepted solution
Community Advisor
January 3, 2024

Hi Prasad,

 

Kindly check following KB[1] for more information,

[1] https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-17476.html?lang=en

 

Regards,

Peter

kautuk_sahni
Community Manager
Community Manager
January 8, 2024

@rudra-2024 

Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni