tokenExpired condition wrong for PasswordOAuth2AuthorizedClientProvider #7585
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
status: duplicate
A duplicate of another issue
Summary
Condition to check whether token is about to expire is wrong in
PasswordOAuth2AuthorizedClientProvider
Actual Behavior
When token will expire in skew the client won't be re-authorized
Expected Behavior
Token will be attempted to reauthorize if only skew time is left for token to expire
Configuration
There is plus/minus mistake
Should become
Version
5.2
Sample
The text was updated successfully, but these errors were encountered: