Support multiple keys

Created on 2 October 2017, over 7 years ago
Updated 15 March 2023, about 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

Merge Requests

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.

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

    For this level of change I think it will need to go in 3.x. 2.x is just being minimally maintained

  • Merge request !24Support multiple keys β†’ (Open) created by pwolanin
Production build 0.71.5 2024