-
-
Notifications
You must be signed in to change notification settings - Fork 362
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
Gmail oauth authentication returns error when oauth_refresh_token is used #338
Comments
Is the refresh token correct? Does it work if you try it manually with this command: https://github.com/OfflineIMAP/offlineimap/blob/master/offlineimap.conf#L793 ? |
14 days without feedback from user. Closing, if issue still remains, please reopen. |
I'm facing pretty much the exact same issue. I've opened #372 where I asked about this |
I think we should provide a better error message. |
sorry for the delay. Now using version 7.0.5. @nicolas33: yes, the refresh token is correct and using gmail-oauth2-tools with the refresh token gives me a usable access token which I can use in offlineimap. Using the same refresh token still gives the original error. |
Ouch, I had |
So, both @darnir and @fengshaun had a typo for this option and could not figure it out. |
Github-ref: OfflineIMAP#338 Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Could you reproduce the error with above version to check if this helps, please? |
Github-ref: #338 Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
When I try to use gmail's oauth2 authentication with refresh token, I get the following error. I followed the instructions in the docs: https://github.com/OfflineIMAP/offlineimap/blob/master/offlineimap.conf#L746
General informations
Log error
Steps to reproduce the error
The text was updated successfully, but these errors were encountered: