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

"Authorization Error - Error 400: invalid_request" #195

Open
jzohrab opened this issue Apr 30, 2022 · 6 comments
Open

"Authorization Error - Error 400: invalid_request" #195

jzohrab opened this issue Apr 30, 2022 · 6 comments

Comments

@jzohrab
Copy link

jzohrab commented Apr 30, 2022

Hi there, requesting set-up assistance, and if I can solve it I'll contribute some docs back.

org-gcal used to work, but has stopped. I updated the installation to this repo (following https://melpa.org/#/org-gcal) and trying org-gcal-request-token gives me the following:

image

I created a new google project with the Calendar API as shown in the README. I believe I've done everything correctly.

I deleted the .org-gcal-token as suggested in #173, no effect.

When I run the request-token function, it shows the following in the minibuffer:

Please visit (if it doesn't open automatically): https://accounts.google.com/o/oauth2/auth?client_id=459054706968-8m53jnousbu20s39ne982a3264p38ep4.apps.googleusercontent.com&response_type=code&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar

going to that link also gives the same error screen.

Any thoughts? Cheers, jz

@alvesmgabriel
Copy link

I'm facing same issue after I moved from ivy to vertico on doom. My org-gcal settings stopped to work. The variables like org-gcal-client-id and org-gcal-client-secret don't load.If I load them manually the org-gcal gets the "rx '**' error" (#172).

@alvesmgabriel
Copy link

If I load them manually the org-gcal gets the "rx '**' error" (#172).

I've solved this with (unpin! org-gcal)

@npit
Copy link

npit commented May 3, 2022

Having the same issue on spacemacs.

@alvesmgabriel
Copy link

I moved from ivy to vertico on doom.

I found a command (require 'ivy) in my settings, the issue is not related to vertico. Did you add your email to the test users list in the OAuth Consent Screen?

@philongphan
Copy link

Seems like Google deprecated their OAuth flow, which is why we see this error message. Therefore the authentication method stopped working since 28.02.2022.
https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html#disallowed-oob

@cwsteinbach
Copy link

This issue is tracked in #191.

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

5 participants