Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refresh token #11

Merged
merged 9 commits into from
Mar 29, 2024
Merged

refresh token #11

merged 9 commits into from
Mar 29, 2024

Conversation

fredrikj31
Copy link
Owner

  • feat(database): adds refresh_tokens table to init.sql file
  • feat(schemas): adds refresh token schema
  • feat(database): adds queries to check and create refresh token
  • feat(routes): adds /token endpoint and handler
  • feat(database): adds getUserById function
  • feat(login): extends login handler with refresh token generation
  • feat(helpers): adds validateJwt function
  • feat(helpers): adds proper error handling for signJwt function
  • feat(http): adds token http call

@fredrikj31 fredrikj31 merged commit 28d6877 into main Mar 29, 2024
@fredrikj31 fredrikj31 deleted the refresh-token branch March 29, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant