Skip to content
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

Access blocked: Gtasks CLI’s request is invalid #22

Open
delip opened this issue Oct 27, 2022 · 4 comments
Open

Access blocked: Gtasks CLI’s request is invalid #22

delip opened this issue Oct 27, 2022 · 4 comments

Comments

@delip
Copy link

delip commented Oct 27, 2022

I am signed into multiple google workspace accounts in the browser. When I paste the o-auth link from gtasks login I get this error:

image

How do I proceed?

@jmonroynieto
Copy link

I am setting up a fresh installation and get this same error. It seems that the developer needs to change the login method.

@jmonroynieto
Copy link

jmonroynieto commented Nov 7, 2022

The developer suggested a workaround earlier this year. After you create your project and replace the config json remember to "publish" your app to allow it to be used with your google accounts. This can be done in the OAuth authorization screen setup > publish status.

Following that, pasting the request will take you to a blocking page that is placed for non-verified apps, AKA the connection you just set up. Bypass though the advanced menu at the bottom. The resulting HTTP request won't go through but it will contain the requested code. Copy <YouraccessCode> inside the URL at -token&code=<yourAccessCode>&scope.

@guillenotfound
Copy link

Is there any way to do it using environment variables? I know Gcloud command line util allows it for example.

@niksingh710
Copy link

The developer suggested a workaround earlier this year. After you create your project and replace the config json remember to "publish" your app to allow it to be used with your google accounts. This can be done in the OAuth authorization screen setup > publish status.

Following that, pasting the request will take you to a blocking page that is placed for non-verified apps, AKA the connection you just set up. Bypass though the advanced menu at the bottom. The resulting HTTP request won't go through but it will contain the requested code. Copy <YouraccessCode> inside the URL at -token&code=<yourAccessCode>&scope.

Thank you for mentioning the token part in the comment it was really helpful.
i guess the project should add a wikki instruction regarding the token creation and publishing and using the config.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants