coder / coder/coder-jetbrains-toolbox

feat(oauth2): handle refresh token expiration

Open
#273 2 comments 0 reactions 1 assignee Claimed by @fioan89 View on GitHub
Bug
Dominant language
Kotlin
Stars
23
Forks
7
Avg merge
3d 12h
Merged PRs (30d)
10

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.