Skip to content

Crash can occur when token refresh endpoint is not available #50

@DeadlyEmbrace

Description

@DeadlyEmbrace

Description

image

image

Crash occurred in a client application when a token refresh was being executed and the endpoint could not be reached.
Question is how to handle a situation such as this. If we simply catch the exception and set the internal token to null no further refreshes will occur for the token. Suspect we might need an event to notify the client and then keep trying to refresh the token using some kind of back-off strategy.

Tasks

  • Consider strategy to implement
  • Implement the change

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions