-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Data doesn't work with Google Workplace (ex GSuite) #5
Comments
It would be worth retesting with a build from the latest sources (you'll need your own client id & secret, as well as API key), because we just recently added the API key, which could possibly affect this (although I think it's somewhat unlikely). Other than that, it's just going to require standard debugging by someone with access to the type of account that fails (ie probably no one on the core team). |
I've first experienced this on top of 389fa6257d560924157b1ba5e22b3222e2367706 (last night's |
Apologies - those directions hadn't been updated yet to include the API key (it was just added a few days ago). It's added now, although I'm not 100% sure that the described method of editing |
Thanks @tfmorris. I've just tried adding the API Key, but with the same results. Looking at the source code, the line that's raising the exception is this one:
And I'm not sure how to debug that |
hi, |
@goetzk No, I was not able to fix this. And it turned out that we didn't need support for GSuite in my use case, so I didn't invest any more efforts on this. Feel free to ping me if you make any progress and want me to help debugging or understanding it or something, though :) |
I've spent an hour poking around from the edges but I'm not making any real progress - I'll leave this problem for now but thanks for your offer of help. |
To Reproduce
Steps to reproduce the behavior:
Create Project
, navigate toGoogle Data
, and click thesign in and authorize
button.@gmail.com
Google Account) and accept the OAuth scopes.Current Results
OpenRefine throws a 500 due to an
invalid_grant
/Bad Request
error.Caused by: com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request { "error" : "invalid_grant", "error_description" : "Bad Request" }
Expected Behavior
OpenRefine should list the Google Sheets in the account.
Screenshots
Versions
openjdk version "15.0.2" 2021-01-19
Datasets
N/A
Additional context
I've tried using a standard GMail account on the same scenario, and it worked OK. Also, a different Google Workplace account yielded an
Error 400: admin_policy_enforced
Authorization Error as soon as the Google OAuth popup opened - but that didn't happen with the account yielding the Error 500.I'll probably be able to test/troubleshoot things if you guide me, but I don't have a single clue on where to start.
The text was updated successfully, but these errors were encountered: