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
Bug - Default Google Mail OAuth2 template contains an error #340
Comments
@apathyzen From where do you get the refresh token URL? I checked the Google documentation and it is still the one provided from the template. See https://developers.google.com/identity/protocols/oauth2/web-server#exchange-authorization-code (switch to HTTP/REST to see the URL) |
@rkaldung |
@apathyzen I set up a vanilla 6.4.5 test system with an OAuth2 configuration to fetch from a Google Workspace/GSuit account, using the template's URLs. Does it always require a week before failure, or does it sometimes happens earlier? |
@rkaldung I didn't time how long exactly does it take to break. "A week" is more of a guess. |
@apathyzen I will close this issue and mark it with 'won't fix'. There are two reasons for this: 1.) The Google documentation clearly states that the URLs in our template are correct. We used a GSuite domain and mail account. If your setup differs, please let me know. |
Environment
Expected behaviour
To add Gmail OAuth2 client ID and secret, then to authorize through Google's consent screen, then have no token expiration or/and refresh errors
Actual behaviour
Described here:
https://community.znuny.org/viewtopic.php?f=62&t=43505
How to reproduce
Steps to reproduce the behavior:
Additional information
URL for token by refresh token provided by the template is: https://oauth2.googleapis.com/token
URL for token by refresh token should be: https://accounts.google.com/o/oauth2/token
Screenshots
The text was updated successfully, but these errors were encountered: