Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle case where stored refresh token expires #118

Open
pkalita-lbl opened this issue Jun 6, 2024 · 0 comments
Open

Handle case where stored refresh token expires #118

pkalita-lbl opened this issue Jun 6, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request v1-release 🚀 Features and bug fixes that must be included in the first public release (i.e. general release)

Comments

@pkalita-lbl
Copy link
Collaborator

When a user logs in a refresh token is generated for the user and the app stores it in persistent storage. The refresh token used to issue new shorter-lived access tokens. But the refresh token itself will expire after 365 days (by default -- it is configurable per nmdc-server environment). When the app detects that the refresh token has expired (as evidenced by an exchange for a new access token failing), the app needs to revert to a logged-out state and the user will need to log in again.

@pkalita-lbl pkalita-lbl converted this from a draft issue Jun 6, 2024
@pkalita-lbl pkalita-lbl moved this from Backlog to Todo in Field Notes Squad Board Jul 1, 2024
@pkalita-lbl pkalita-lbl self-assigned this Jul 1, 2024
@pkalita-lbl pkalita-lbl added enhancement New feature or request beta-release Features and bug fixes that must be included in the first beta release and removed beta-release Features and bug fixes that must be included in the first beta release labels Jul 9, 2024
@pkalita-lbl pkalita-lbl moved this from Todo to Backlog in Field Notes Squad Board Jul 15, 2024
@pkalita-lbl pkalita-lbl added the v1-release 🚀 Features and bug fixes that must be included in the first public release (i.e. general release) label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v1-release 🚀 Features and bug fixes that must be included in the first public release (i.e. general release)
Projects
Status: Backlog
Development

No branches or pull requests

1 participant