Skip to content
This repository was archived by the owner on May 12, 2023. It is now read-only.

AuthenticationClient doesn't handle refresh token expiration #22

@morwen

Description

@morwen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions