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

Can't sign in for google calendar (redirect_uri_mismatch) #1158

Open
ManuGraiph opened this issue Jan 24, 2025 · 1 comment
Open

Can't sign in for google calendar (redirect_uri_mismatch) #1158

ManuGraiph opened this issue Jan 24, 2025 · 1 comment

Comments

@ManuGraiph
Copy link

Hi,

When i try to sync my google calendar for the first time, the auth url opens with the following message:

You can’t sign in because this app sent an invalid request. You can try again later, or contact the developer about this issue. [Learn more about this error](https://developers.google.com/identity/protocols/oauth2/web-server#authorization-errors-redirect-uri-mismatch)
If you are a developer of this app, see [error details](https://accounts.google.com/).
Error 400: redirect_uri_mismatch

Tried with different browsers, in case the one i use was trimming the url, but same result; any idea what could it be?

@WhyNotHugo
Copy link
Member

The error indicates that the redirect URL that you specified when creating the app via google's developer console does not match the redirect URL that vdirsyncer is using.

Vdirsyncer uses http://127.0.0.1 as a redirect URI. See this comment: #1028 (comment)

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

No branches or pull requests

2 participants