digitalinteraction / deconf-api-toolkit

A library for running decentralised virtual conferences
https://deconf-api.openlab.dev/
MIT License
2 stars 0 forks source link

Allow JWT issuer to be configured #29

Closed robb-j closed 2 years ago

robb-j commented 2 years ago

Hard-coding the JWT is not ideal, library-clients should be able to set this to whatever they like. It would be most-useful to set it from a ConferenceConfig which is loaded from JSON.

A multi-year conference, like MozFest, would like to set the JWT ISS to mozfest-2022 so that the client can discard tokens that are for the previous year's conference. This is because the conference is hosted on the same domain but JWTs that users have already stored are incompatible.

robb-j commented 2 years ago

This was added and later tweaked in dd47c2451d8b36127fc1556836a576b9b318468e to allow a custom issuer to be set via the new jwtConfig