Google OAuth The window was closed before completing Google Authentication


I am getting this error:

The window was closed before completing Google Authentication.

with Google OAuth.

metabase is hosted on and working fine with email/pass.


Authorised JavaScript origins:
Authorised redirect URIs: -

Do I need a ‘Authorised redirect URIs’?

Hi @sevaho
No, redirect URL should be left blank:
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:

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.