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

Explore automatic refreshing of GitHub token #1892

Closed
spalmurray-codecov opened this issue Jun 11, 2024 · 0 comments · May be fixed by codecov/gazebo#2965
Closed

Explore automatic refreshing of GitHub token #1892

spalmurray-codecov opened this issue Jun 11, 2024 · 0 comments · May be fixed by codecov/gazebo#2965
Assignees
Labels
bug Something isn't working

Comments

@spalmurray-codecov
Copy link

spalmurray-codecov commented Jun 11, 2024

Currently, users get logged out and must log back into Codecov each time their 8 hour GitHub token expires. The GitHub token should come with a refresh token that we can use to refresh the user's token for another 8 hours. Doing this automatically in the background at some interval or trigger should help reduce the frequency at which users are logged out of Codecov unexpectedly.

Explore our use of the GitHub token and determine whether it's possible to do this token refreshing automatically in the background.

A band-aid fix was attempted in #1915, but we decided to pause this until this exploration revealed any major changes with session management.

GitHub docs on refreshing tokens
GitHub docs on token expiry

Automatic session logout context:
#642
codecov/gazebo#2411

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants