ataverascrespo / RecordRack

Digital music collections and social platform
https://recordrack.ca
GNU General Public License v3.0
1 stars 1 forks source link

#7 - Adds support for multiple persisting refresh tokens in database #10

Closed ataverascrespo closed 9 months ago

ataverascrespo commented 9 months ago

Changes User Entity Framework data model

  • string RefreshToken is now a JSONB List column in Postgres

Creates RefreshToken Entity Framework data model Adds new logic to support querying JSONB column for matching refresh token New logout functionality for token deletion on front-end/back-end Adds logic to clear refresh token list on password reset TTL for refresh token changed to 7 days for user accessibility

ataverascrespo commented 9 months ago

How it feels to merge your own PR e33

ataverascrespo commented 9 months ago

Adding this as a note to myself

this is good to merge - just need to remember to update EF db migrations and push new data context 2 main