Unable to set refresh token expiry time when building OAuth2AccessTokenResponse #9148
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
status: duplicate
A duplicate of another issue
I am implementing OAuth2AccessTokenResponseClient and I do not see a way of setting refresh token expiry time on OAuth2AccessTokenResponse...
Describe the bug
Unable to set refresh token expiry time when building OAuth2AccessTokenResponse
To Reproduce
OAuth2AccessTokenResponse.withToken(accessToken)
.expiresIn(expiresIn)
.refreshToken(refreshToken).build();
Expected behavior
OAuth2AccessTokenResponse.withToken(accessToken)
.expiresIn(expiresIn)
.refreshToken(refreshToken)
.refreshTokenExpiresIn(refreshTokenExpiresIn)
.build();
The text was updated successfully, but these errors were encountered: