Overview
Users attempting to access specific posts in the Community (for example, from notification emails) may be redirected to the homepage after being logged out because of SSO session inactivity. This occurs when a hardcoded redirect URI is present in the Single Sign-On (SSO) settings, preventing users from returning to their originally intended destination.
Symptoms
-
After logout due to session expirty, users trying to access a specific Community post are redirected to the homepage.
-
Expected behavior: Users should return to the specific post they attempted to visit.
-
Cause: The issue is due to a hardcoded redirect URI in the SSO settings, which overrides the intended destination and sends users to the homepage.
Resolution Steps:
-
Update SSO Settings:
- Navigate to Admin → System → SSO.
- Set the Return value parameter name to:
redirect_uri. - In the URL to sign off page, remove the hardcoded redirect URI:
- Change from:
https://<your_SSO_URL>.com/signout?redirect_uri=https://your_community_URL - To:
https://<your_SSO_URL>/signout
- Change from:
-
Verify Changes:
- Test the login/logout behavior to ensure users are redirected to the specific post or page they were attempting to access before being logged out.
-
Monitor Results:
- Monitor the behavior over the next few weeks to confirm resolution.
Note: If issues persist, clear browser cookies and cache, and retest the login/logout behavior.
Frequently Asked Questions
- Q1: How do I know if this issue applies to my situation?
- A1: If you are being redirected to the Community homepage instead of the intended post after logout, this issue may apply to you.
- Q2: What changes need to be made to resolve this issue?
- A2: Update the SSO settings to remove the hardcoded redirect URI, allowing dynamic redirection to the intended post.
- Q3: What should I do if the issue persists after making the changes?
- A3: Clear your browser cookies and cache, and retest the login/logout behavior. If the issue persists, contact support for further assistance.
Ciprian Nastase
Comments