On-premise Google SSO: Authorization Error

Hi everyone,

I'm trying to configure Google SSO as documented here. Looks like everything went well, but when I click the Sign in with Google button, I get this error message:

Error 400: invalid_request
Invalid parameter value for redirect_uri: Non-public domains not allowed: http://api:3000/oauthcallback

I'm not sure why Retool sets the callback URL as http://api:3000, my server is configured with a valid custom hostname and SSL (inside docker.env: DOMAINS=retool.my-company.com -> http://api:3000, also HOSTNAME is set).

Anyone encountered that while configuring Google SSO?
It might be worth mentioning I rather not use Ngrok or a similar service.

Thanks

Solutions: I didn’t set the BASE_DOMAIN=https://retool.my-company.com inside docker.env as described here. After doing so, everything works.

1 Like