Skip to content

[FEATURE] Add client profile token restore and enforce join/check profile binding#734

Open
Ap4uuk wants to merge 6 commits into
GravitLauncher:devfrom
Ap4uuk:dev
Open

[FEATURE] Add client profile token restore and enforce join/check profile binding#734
Ap4uuk wants to merge 6 commits into
GravitLauncher:devfrom
Ap4uuk:dev

Conversation

@Ap4uuk
Copy link
Copy Markdown
Contributor

@Ap4uuk Ap4uuk commented Jun 1, 2026

SetProfile now issues a clientProfile extended token, and Restore can recover the selected client profile from this token.
The joinServer/checkServer flow now validates profile consistency to prevent profile mismatch between client session state and server checks.

To send custom messages, you need to edit the authlib library to pass a convenient "Bad Client" value to the client. Otherwise, you'll get the standard error message "Authentication servers are down. Please try again later, sorry!"

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.

1 participant