dataiku / dss-plugin-googledrive

Dataiku DSS plugin to interact with your documents and Google Sheets stored on Google Drive
https://www.dataiku.com/product/plugins/googledrive/
Apache License 2.0
0 stars 0 forks source link

Google Drive Plugin gives "Access Blocked: This app's request is invalid" when setting up SSO #11

Closed emiel-veersma closed 1 year ago

emiel-veersma commented 1 year ago

I had this issue where I got "Access Blocked: This app's request is invalid" when I wanted to edit the personal credentials. This was fixed by Dataiku support in this ticket.

This fixed it, but we needed to edit the source code of the plugin (and it was not in line with the documentation).

  1. We have tested DSS with enabled ssl and FQDN and it turns that you will need to use webapp credentials to make it work. (So that's instead of the desktop app)
  2. You will have to add dip/api/oauth2-callback to the end of redirect url. (so the URL to your dataiku instance + "/dip/api/oauth2-callback")
  3. You will need to convert this plugin to the development and replace the line 18 of googledrive/parameter-sets/oauth-credentials/parameter-set.json ​with the below line "authorizationEndpoint": "https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&prompt=consent",
emiel-veersma commented 1 year ago

Never mind, I see its already fixed by this: https://github.com/dataiku/dss-plugin-googledrive/pull/10