Skip to content

feat(oauth2): handle refresh token expiration #273

@fioan89

Description

@fioan89

Refresh tokens can expire after a certain amount of time. The expiration can happen during a live session or when the Toolbox is closed.
Inspecting the coder code it looks like 400 Bad request is raised

{
  "error": "invalid_grant",
  "error_description": "The refresh token is invalid or expired"
}

when we try to refresh an access token with an expired refresh token. Coder Toolbox should be able to handle this scenario.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions