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

refactor: authentication #90

Merged
merged 3 commits into from
Jul 27, 2024
Merged

refactor: authentication #90

merged 3 commits into from
Jul 27, 2024

Conversation

invertedEcho
Copy link
Owner

@invertedEcho invertedEcho commented Jul 27, 2024

  • Don't return user information in login endpoint, just the jwt access token
  • Dont guard the login endpoint, instead guard the profile endpoint
  • Remove passport as it was just unused
  • Simplify the AuthGuard
  • Make login only possible via email

This fixes issue #84

@invertedEcho invertedEcho merged commit 83cb099 into master Jul 27, 2024
1 check passed
@invertedEcho invertedEcho deleted the refactor/authentication branch July 27, 2024 16:58
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