ufosc / club-website

The official remodeling of The Open Source Club website
https://ufopensource.club
MIT License
9 stars 14 forks source link

OAuth for User Login #76

Open skbt27i opened 5 years ago

skbt27i commented 5 years ago

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 commented 4 years ago

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 commented 4 years ago

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

Users.js will then make the JWT for authentication

skbt27i commented 4 years ago

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?)