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

adds credentials refresh save #1030

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Conversation

thesuzerain
Copy link
Contributor

@thesuzerain thesuzerain commented Jan 30, 2024

Refresh is not saving credentials to file- resulting in auth.json file no longer matching session stored in db (as refresh call to the labrinth API modifies the token)

This error doesn't get printed to the console because it doesnt tell you if the refresh failed unless the refresh failed AND your current token's locally cached expiry date hasnt expired yet. So on the second or third boot-up, you are out of sync and theres no message printed until the token expires naturally

@Geometrically Geometrically merged commit 3ff0ff2 into master Jan 31, 2024
6 of 7 checks passed
@Geometrically Geometrically deleted the saves-creds-after-refresh branch January 31, 2024 00:31
Geometrically pushed a commit that referenced this pull request Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants