-
Notifications
You must be signed in to change notification settings - Fork 5
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
Could not request access token for. The refresh token could be expired or invali #3
Comments
Fixes RotherOSS#3 Removed the `LOWER` SQL functions which prevented an OAuth2 access_token refresh using the refresh_token stored in the database.
Fixes RotherOSS#3 Removed the `LOWER` SQL functions which prevented an OAuth2 access_token refresh using the refresh_token stored in the database.
@stefanhaerter Sorry to mention you directly, but since this issue is now open for 2 years is there any chance this could be looked at? The linked PR fixed the issue for us. As of right now we have to alter the code manually after every update. |
The mention is fine, don't worry - this will definitely been looked at, but as I'm not familiar with Outlook / Exchange at all, I can't give any estimate about this. Your PR looks like a sensible change, but usually we try to make an effort to understand why the code causing the failure was implemented and which possible side effects are to be considered. I'll provide an update as soon as we have the capacity to review this. |
Thanks for the update! I can't answer the "why" but there are some inconsistencies in the code regarding access of the The insert happens without a MailAccount-OAuth2/Kernel/System/OAuth2.pm Lines 263 to 264 in 1db1f36
Also these deletes don't have a
|
Hi, once I set OAUTH2 for Exchange Online Mail account in OTOBO, downloading emails will stop with error as bellow. After edit and save mail account and login to Microsoft, error will stop for next hour. In the auth_token table will be a new refresh key with every "edit and save mail account"
The text was updated successfully, but these errors were encountered: