-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Backend] Implement Google OAuth #21
Conversation
@@ -11,7 +11,7 @@ | |||
"dev": "vite", | |||
"start:debug": "nest start --debug --watch", | |||
"start:prod": "node dist/main", | |||
"console": "yarn start -- --watch --entryFile repl", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like I'm swapping between yarn and npm, but I guess we're using npm now? 😃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hahaha sorry I should have left a note here.. yarn was failing to capture the terminal session when using the REPL. For some reason, running this command specifically with npm works and I didn't want to put effort to investigate why and fix it.
We're definitely using yarn and you should still run yarn console
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep a proper ticket here :D #23
Implement Google login for authentication between Mobile App and API
New URLs:
/api/auth/google
/api/auth/google/callback
Description
Motivation and Context
Mobile app needs to know which user is logged in so that it can save movies in watchlists and manage subscriptions
This PR implements a JWT auth system that can receive login from Google provider. Now that the auth system is in place, it's easy to add new providers by just implementing each Strategy
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: