Commit Graph

3 Commits

Author SHA1 Message Date
7e305429b4 feat: make JWT refreshTokens more secure
Don't store the token itself in the database, store a UUID, and when refreshing the accessToken, verify the token and verify that in the payload there is a corresponding UUID stored in the database
2022-08-29 17:26:43 +00:00
19b6f96ecf feat: usage of ESM modules imports (instead of CommonJS) (#5)
Replace `jest` with `tap`.
2022-03-20 11:49:27 +01:00
b77e602358 feat: migrate from express to fastify 2021-10-24 04:18:18 +02:00