Implementing a reverse proxy: how to specify Google OAuth2 parameters?

Hi David,

Thanks for reaching out.

Those details would be the URIs of where OAuth2 Proxy is running and is noted in their docs (here’s the Google example): https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/oauth_provider/#google-auth-provider

For example, if you were only using the default onrender.com domains it would be something like:

  • Authorized JavaScript origins is your domain ex: https://your-service-slug.onrender.com
  • Authorized redirect URIs is the location of oauth2/callback ex: https://your-service-slug.onrender.com/oauth2/callback

If you use a custom domain, you could also add those to Google’s settings.

Hope that helps

Alan