SSO redirect when already logged in

Created on 2 August 2022, almost 3 years ago
Updated 21 January 2025, 6 months ago

First, thank you all for all the work you do supporting this module.
We have setup our Drupal site to use LDAP and LDAP SSO on a ubuntu box using Kerberos Authentication with apache.
We have our site set at the root for authentication so you must authenticate to see it. We are providing our internal users authentication via sso and the same users can access the site from outside the network and login via /user/login.
We currently have a redirect from the root to the /user/login/sso for our internal users. This works just fine with one issue. Once a user authenticates if they try to access the site again using the root page it will show the access is denied message and stay on the /user/login/sso page, they can navigate to any page because they are already login in. I see this is the default behavior, from the read me, an "access is denied" message will be displayed if the module is enabled and the browser is already logged in;" when accesing the /user/login/sso page. My ask is can this be changed to allow the user get redirected to the home page when they are already logged in and not show the access is denied message?

✨ Feature request
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡²United States Minor Outlying Islands bhorning

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024