Correctly specify non_email_login for standardized launchers#253
Merged
evan-goode merged 2 commits intounmojang:masterfrom Feb 28, 2026
Merged
Correctly specify non_email_login for standardized launchers#253evan-goode merged 2 commits intounmojang:masterfrom
evan-goode merged 2 commits intounmojang:masterfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Updates Drasl’s authlib-injector metadata to comply with the authlib-injector “standardized launcher” requirement by explicitly advertising that the server supports non-email usernames, preventing launchers (e.g., HMCL) from forcing email-only login.
Changes:
- Add
feature.non_email_loginto the authlib-injectormetaJSON schema. - Set
feature.non_email_login = truein the/authlib-injectorresponse.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
evan-goode
approved these changes
Feb 28, 2026
Member
evan-goode
left a comment
There was a problem hiding this comment.
Thanks, I've been meaning to do that.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This authlib standard requires all servers to have
feature.non_email_login = trueif it doesn't require the log-in username to be an email.Drasl doesn't require the username to be an email, but did not add this field, which defaulted to false.
HMCL (launcher) queries Drasl, and see this missing field, and think that this server require usernames to be email, so it forces users to input an email.
Finally, users can't log in via HMCL because their username is not an email.
References: