-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
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
- New tokens won't work with the old Montandon endpoint: https://monty-api.ifrc.org/__docs__/
- Old tokens won't work with the new Montandon eoAPI endpoint: https://montandon-eoapi-stage.ifrc.org/stac
Important
NOTE: We need to make sure this is provided to the user in the JWT token management page?
batpad