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

Retrieving OAuth 2.0 tokens via Out Of Band redirect_uri is deprecated #249

Open
EmperorDali opened this issue Mar 30, 2022 · 1 comment

Comments

@EmperorDali
Copy link

tl;dr: Google has deprecated the Out Of Band ('oob') method of obtaining OAuth 2.0 authentication tokens which is what org-caldav uses via the emacs package oauth2. This means that it's no longer possible to generate the authentication tokens needed for org-caldav to sync with Google Calendar. Existing tokens will work with oob flow until the end of October 2022 at which point they will also stop working.

The fix for this is to migrate the OAuth 2.0 flow to localhost, which requires running a local webserver that the OAuth2.0 login will redirect to and provide the token to.

See this related issue in the org-gcal repo for more details

This isn't really an org-caldav issue but rather something that should be fixed in the emacs oauth2 package, but nevertheless I wanted to raise the issue here in case folks wonder why they aren't able to configure org-caldav to sync against Google Calendar.

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

2 participants