Google OAuth The window was closed before completing Google Authentication

Hello

I am getting this error:

The window was closed before completing Google Authentication.

with Google OAuth.

metabase is hosted on https://metrics.XXXXX.com and working fine with email/pass.

config:

Authorised JavaScript origins: https://metrics.XXXXX.com
Authorised redirect URIs: -

Do I need a ‘Authorised redirect URIs’?

Hi @sevaho
No, redirect URL should be left blank:
https://www.metabase.com/docs/latest/administration-guide/10-single-sign-on.html
And you should check the browser console for any errors during the login.
But perhaps you’re having issues with Chrome 79 - follow this issue:
https://github.com/metabase/metabase/issues/11516

1 Like

Yes totally correct! thank you!

  • Same bug with Firefox 81.0 on macOS.
  • Works perfectly fine with Chrome Version 86.0.4240.80 (Build officiel) (x86_64) on macOS.

@oteku Please post “Diagnostic Info” from Admin > Troubleshooting.
Make sure that third-party cookies isn’t blocked. Check the browser developer console.