Akeneo.Authentication.AuthenticationClient
public virtual async Task RequestRefreshTokenAsync(string refreshToken, CancellationToken ct = default(CancellationToken)) (Line 99-101)
Refresh with expired refresh token returns 422 Status Code and Message: "Refresh token is invalid or has expired"
Proposal: before throwing exception check if the error is refresh token expiration and call RequestAccessTokenAsync to re-login and get new refresh token
Akeneo.Authentication.AuthenticationClient
public virtual async Task RequestRefreshTokenAsync(string refreshToken, CancellationToken ct = default(CancellationToken)) (Line 99-101)
Refresh with expired refresh token returns 422 Status Code and Message: "Refresh token is invalid or has expired"
Proposal: before throwing exception check if the error is refresh token expiration and call RequestAccessTokenAsync to re-login and get new refresh token