bplmp / metabase-google-sheets-add-on

Import a Metabase question directly to a Google Sheet.
MIT License
108 stars 33 forks source link

Metabase Google Auth Login #5

Open mhahndesign opened 2 years ago

mhahndesign commented 2 years ago

This is a great script! How would we setup the script to login to our Metabase account if we use Google authorization for login?

pedromfarantes commented 2 years ago

I have the same problem...

giorgossaman commented 1 year ago

I have the same problem. I would like to use this script with Google SSO. Any ideas?

neozenith commented 1 year ago

I have tweaked a version of this code to get Google SSO working in our organisation and it is a bit of a hack for now.

https://github.com/neozenith/metabase-google-sheets-add-on/commit/eb9908094e60345d7d52928c41445f9a7c90e192

It looked like Google Identity sends the JWT back to auth/sso/google/session on your metebase API which creates a valid Session ID. So the JWT is never stored locally in the browser.