Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

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

Avatar

Level 3

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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

Avatar

Administrator

@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