mirego / accent

The first developer-oriented translation tool. True asynchronous flow between translators and your team.
https://www.accent.reviews
BSD 3-Clause "New" or "Revised" License
1.3k stars 98 forks source link

Help needed with setting up Google Auth #209

Closed tvb closed 4 years ago

tvb commented 4 years ago

I created an OAuth2.0 Web Application in the developer console of Google. Added the GOOGLE_API_CLIENT_ID and GOOGLE_API_CLIENT_SECRET. Restarted my Dynos (Heroku) but I don't see the Google Login button. How can I verify the OAuth2.0 setup is set correctly? I don't see anything special in de logs.

Also, to what value do I need to set the Authorized Javascript Origins and Authorized redirect URLs?

tvb commented 4 years ago

I think I needed to set the WEBAPP_URL to the correct (Heroku) url and set the Callback URL in the Google Developer console to https://<myapp>.herokuapp.com/auth/google/callback before it started to work.