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

Add MS token refresh functions #8

Merged
merged 2 commits into from Jan 20, 2022

Conversation

AlexandraIsabel
Copy link

This PR adds the proper functionality and fixes existing functionality for refreshing of MS Access tokens and refresh tokens. This PR also adds handling for when none of the available tokens are valid. Should resolve some of the issues that have been reported to us by players.

Signed-off-by: Alexandra Isabel Galderisi Alexandra.Galderisi@outlook.com

This should fix the issues with tokens not refreshing properly.

Signed-off-by: Alexandra Isabel Galderisi <Alexandra.Galderisi@outlook.com>
The launcher will now refresh the refresh_token at every access token
refresh. In the case of an invalid refresh token, the launcher will now
attempt to bring the user back through the auth code login flow to get
proper grant tokens.

Signed-off-by: Alexandra Isabel Galderisi <Alexandra.Galderisi@outlook.com>
@TheFlash787 TheFlash787 merged commit 13eb214 into ModRealms:master Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants