johndpjr / AgTern

20 stars 5 forks source link

Implement OAuth on backend #169

Closed johndpjr closed 7 months ago

johndpjr commented 8 months ago

Context

Nearly all the backend setup can be complete on its own. Use a provider like OAuthlib. Once #168 is complete, you can use its provided OAuth and credential data to fully implement the backend

TODO

Notes

Jwdegames commented 8 months ago

We technically already have the first part implemented.

Jwdegames commented 8 months ago

For logging in and signing up through google, we should follow these steps: https://developers.google.com/identity/sign-in/web/sign-in https://developers.google.com/identity/sign-in/web/backend-auth

Jwdegames commented 8 months ago

Note: The login endpoints need to be modified to accept login via google. Probably a new function is needed for loggin in via google.