The refresh token has expired due to inactivity

Created on 13 September 2023, about 1 year ago
Updated 26 November 2023, 12 months ago

Problem/Motivation

Using phpmailer_oauth2, refresh token is never replaced after each call and we got this fatal after token expiration :

League\OAuth2\Client\Provider\Exception\IdentityProviderException: invalid_grant AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2023-06-13T08:09:44.4738924Z and was inactive for 90.00:00:00

We need then to do manualy the 'Get auth token' process every 90 days.

Proposed resolution

Refresh the store refresh token after each call.

Thanks

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024