ksquareincmx / conference-server-next

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement Refresh token

jcomoto opened this issue · comments

Due to the short lifespan of a JWT we need to implement a refresh token to allow users to keep using the app without the need of authenticating again.

  • #36 Send refresh token on authentication request
  • #37 Add /refreshToken endpoint
  • Reduce JWT lifespan to 12 hrs
  • Make a scheduled task to remove expired tokens