Add destination query string no matter the redirect URL

Created on 3 August 2023, 11 months ago

Problem/Motivation

When combing the Anonymous Redirect module with a SAML login, users are directed to /saml_login instead of /user/login. It would still be advantageous to have a destination query string on the URL, since it's technically still a login URL.

Steps to reproduce

  1. Install the simplesamlphp_auth module and configure
  2. Install Anonymous Redirect and configure to redirect to /saml_login
  3. Hit site as anonymouse user, log in using saml

Proposed resolution

Instead of trying to account for every possible variation of user login URLs, add a toggle for users to enable adding ?destination= to the redirect URL regardless of what it is.

Remaining tasks

User interface changes

N/A

API changes

N/A

Data model changes

Add boolean config item for tracking if destination is enabled or not.

✨ Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States emclaughlin

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

Comments & Activities

Production build 0.69.0 2024