Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

feat(login): add token validation route #115

Merged
merged 2 commits into from
Mar 6, 2024
Merged

feat(login): add token validation route #115

merged 2 commits into from
Mar 6, 2024

Conversation

frgfm
Copy link
Member

@frgfm frgfm commented Mar 6, 2024

This PR introduces the following modifications:

  • add a /login/validate route to check token validity
  • speed up token & scope validation by avoiding unnecessary table operation (reading the user entry corresponding to user_id in the token payload)
  • fix a legacy condition in user registration

@frgfm frgfm added this to the 0.1.0 milestone Mar 6, 2024
@frgfm frgfm self-assigned this Mar 6, 2024
@frgfm frgfm merged commit d97c110 into main Mar 6, 2024
17 of 18 checks passed
@frgfm frgfm deleted the validate branch March 6, 2024 15:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant