Support JWT return_to query parameter

Created on 8 September 2014, over 10 years ago
Updated 22 March 2023, almost 2 years ago

Zendesk's JWT authentication method provides a return_to parameter in the initial query payload which can be used to redirect users back to the location they came from. Unfortunately, the Zendesk module currently discards these parameters during the Drupal login redirection chain and the assembly of the JWT authentication payload.

A patch is attached which:

1. Encodes the return_to parameter into the destination= param for the Drupal-side user-login redirect and
2. Adds this query parameter to the JWT authentication payload so that users end up at the right location in Zendesk.

✨ Feature request
Status

Needs work

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Kazanir

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