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

OAuth for User Login #76

Open
skbt27i opened this issue Sep 23, 2019 · 3 comments
Open

OAuth for User Login #76

skbt27i opened this issue Sep 23, 2019 · 3 comments

Comments

@skbt27i
Copy link

skbt27i commented Sep 23, 2019

OAuth is a new feature for the club website.

This would allow users to more easily login to the OSC website using pre-existing accounts using other services.

I would like to see this feature implemented using at least Google accounts. Possibly could do Facebook as well

@skbt27i
Copy link
Author

skbt27i commented Oct 16, 2019

Need to figure out exactly how to send the token with all the user info to the back end. Also need to figure out how to add the secret key to the key field without exposing it

@skbt27i
Copy link
Author

skbt27i commented Nov 20, 2019

Things left to do:
Pass user information to User.js, not Users.js

Users.js will then make the JWT for authentication

@skbt27i
Copy link
Author

skbt27i commented Dec 24, 2019

OAuth v1:
What has been added:
-Google login button on SignIn page that authenticates a given google user, returning a JWT token and redirecting to Home page

Issues still to be fixed:
-Logout button
-Passing generated token back to other frontend components - pretty much done
-Changing SignIn page once loaded
-Making clientId secret and swapping over to UF OSC Google account - done
-Using axios
-Making the Login button pretty (flex box?)

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

No branches or pull requests

1 participant