Commit Graph
4 Commits
Author SHA1 Message Date
Manuel Raynaud dd0599dce4 ♻️(backend) audience is an enum to be used by the JWTService
To ease the use of the audience with the JWTService, we choose to create
an enum holding all the possible values and then use them in the Yhub
and Y-converter services.
2026-09-23 12:06:05 +02:00
Manuel Raynaud 14cd463c1b ✨(backend) add a method to create a dedicated admin token
For now the only token we will need is ont with the admin claim set to
True. To not repeat the creation of this token again and again, we
created a dedicated method to issue this token in the JWTService class.
2026-09-23 12:06:05 +02:00
Manuel Raynaud e8421824cc ✨(backend) publish the JWT public key on a JWKS endpoint
The yhub service will need our public key in order to validate the jwt
token we will used. We choose to expose a jwks endpoint as it is a
standard wat to do this.
2026-09-23 12:06:05 +02:00
Manuel Raynaud 3addd04755 ✨(backend) add a service generating cached RS256 JWT tokens
We want to generate jwt token using the RS256 algotrithm. This token
will be used for internal call with the yhub service.
2026-09-23 12:06:05 +02:00