stuysu / api.stuyactivities.org

https://api.stuyactivities.org/graphql
9 stars 2 forks source link

Replace Google OoB OAuth flow #720

Closed TheEgghead27 closed 1 year ago

TheEgghead27 commented 1 year ago

Migration to a proper redirect URL based on local HTTP server. Changes tested locally, all Google APIs appeared to remain functional. Closes #717

Server deployment flow may change slightly, though this update can be applied in place due to the running server already having an authenticated app@stuyactivities.org token.

TheEgghead27 commented 1 year ago

Notes: For production deployment, we will have to replace the API client configuration with the new "Web application" client, not the "Desktop" one, since Google does not play nicely with it. Also, "no pem" errors may appear due to an invalid background access token.