AndreasWintherMoen / jobb

Bedpres Bot, a messaging bot to notify users about student events
https://bedpresbot.no/
12 stars 0 forks source link

Refresh access tokens upon expiration #51

Open AndreasWintherMoen opened 1 year ago

AndreasWintherMoen commented 1 year ago

Access tokens are decrypted in middleware, but endpoint must decrypt refresh token and verify the id token (which is a JWT). Depends on #52 to verify id token.

AndreasWintherMoen commented 1 year ago

Updated title. This issue is two-fold: API route and client calling said API route. No reason to make a separate issue for the latter.