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

api cookies setup #22

Merged
merged 7 commits into from
Jul 30, 2024
Merged

api cookies setup #22

merged 7 commits into from
Jul 30, 2024

Conversation

fredrikj31
Copy link
Owner

@fredrikj31 fredrikj31 commented Jul 30, 2024

  • chore(api): installs @fastify/cookie package
  • feat(api): adds cookieSecret to config file
  • feat(api): registers @fastify/cookie plugin
  • feat(api): makes loginUser handler return tokens and expiresAt dates
  • feat(api): adds refreshTokenHandler return token and expiresAt
  • feat(api): adds setCookie to login and refreshToken endpoint
  • chore(api): restructures token in config file

@fredrikj31 fredrikj31 merged commit 8f67f30 into main Jul 30, 2024
@fredrikj31 fredrikj31 deleted the api-cookies-setup branch July 30, 2024 17:37
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