Skip to content

Update JWT token feature to use OIDC key #2472

@thenav56

Description

@thenav56

Related to

Changes

Right now, we use a separate ES256 key for the user managed JWT tokens.
For consistency, We need to switch using the RSA keys from OIDC for consistency.

Caution

We need to update the JWT token's headers and payload.

We need to make sure the tokens can't be for other applications (eg: SDT, Alerthub) as these tokens have larger expiry period

After this change, client apps can get the key and algorithm info from:
https://goadmin-stage.ifrc.org/o/.well-known/openid-configuration

Breaking changes

Important

NOTE: We need to make sure this is provided to the user in the JWT token management page?

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions