Support multiple keys

Created on 2 October 2017, over 7 years ago
Updated 15 March 2023, almost 2 years ago

Currently, this JWT Configuration form (admin/config/system/jwt) only supports authentication with one key. I want to be able to have different customers authenticate using different JWT keys and secrets.

What would be required to provide this enhancement?

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ebeyrent

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.

  • πŸ‡ΊπŸ‡ΈUnited States pwolanin

    Revisiting this ... I see where Erich needed to subclass the transcoder so it could at least be constructed with a different key to make a JWT to send a request to another service.

    It reminds me that having a module-level setting for the algorithm is pointless since the key object itself knows the algorithm.

Production build 0.71.5 2024