Support adding custom JWT headers and also make the headers available after decoding

Created on 30 December 2021, over 2 years ago
Updated 20 March 2023, over 1 year ago

Problem/Motivation

When encoding the JWT, custom JWT headers (like crit) could be set. However the \Drupal\jwt\JsonWebToken\JsonWebTokenInterface does not have a way to set any additional headers.

Proposed resolution

Add option to provide headers and key ID as accepted by Firebase\JWT\JWT::encode

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom vijaycs85 London, UK

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.69.0 2024