Closed blyscuit closed 3 months ago
Hi @blyscuit , I need help setup test scenario when access token revoked, I tried to call log out api with postman during refreshing the survey, showed the log out alert because refresh token also revoked. I need help somehow to revoke only access token.
@kazu91 Hello. We can skip the log out API call if the refresh token expired.
@kazu91 Hello. We can skip the log out API call if the refresh token expired.
Okay I'll fix that, I forgot that the function has api call in it
Wait I think I know how to set up for the access token revoked, I'll set the access token to blank while the application pausing at a breakpoint when calling api
Why
Token can expired and user will not be able to see new data. User should be able to continue using the app after the token expired by automatically refresh their token.
Acceptance Criteria
401
, attempt to refresh user’s token via refresh token API. Refer to API documentation.401
, log the user out and show log in form.