-
Notifications
You must be signed in to change notification settings - Fork 72
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
1.20版本中白名单存在问题 #232
Comments
此问题似乎是由yggdrasil服务器引起的。authlib-injector应该不直接处理请求。 |
https://wiki.vg/Mojang_API#Username_to_UUID 应该是由于这个原因吧,从玩家名称查询 uuid 的 api 迁移了,在authlib-injector的作用下游戏向 可以由authlib-injector在内部将请求重定向到旧的api,或者由验证服务器去实现新的api来解决 |
As of 23w42a, the "Usernames to UUIDs" endpoint, previously at POST https://api.mojang.com/profiles/minecraft, has been moved to POST https://api.minecraftservices.com/minecraft/profile/lookup/bulk/byname. This patch adds an alias for the new endpoint. The old endpoint will still work. Related: yushijinhun/authlib-injector#232
As of 23w42a, the "Usernames to UUIDs" endpoint, previously at POST https://api.mojang.com/profiles/minecraft, has been moved to POST https://api.minecraftservices.com/minecraft/profile/lookup/bulk/byname. This patch adds an alias for the new endpoint. The old endpoint will still work. Related: yushijinhun/authlib-injector#232
1.19.4:可直接whitelist add (usercache.json内还未出现的玩家)
1.20.4:That player does not exist
[authlib-injector] [DEBUG] Reverse proxy: > POST http://xxxxxxxxxxx/api/yggdrasil/minecraftservices/minecraft/profile/lookup/bulk/byname, headers: {content-type=application/json; charset=utf-8, cache-control=no-cache, pragma=no-cache, user-agent=Java/17.0.7, accept=text/html, image/gif, image/jpeg, *; q=.2, /; q=.2, content-length=11}
[authlib-injector] [DEBUG] Reverse proxy: < 404 Not Found , headers: {date=[Mon, 01 Jan 2024 15:21:56 GMT], Cache-Control=[no-cache, private], Server=[nginx], X-Authlib-Injector-API-Location=[http://xxxxxxx/api/yggdrasil], Set-Cookie=[locale=en; expires=Mon, 01-Jan-2024 17:21:56 GMT; Max-Age=7200; path=/; httponly; samesite=lax], Vary=[Accept-Encoding], Content-Type=[text/html; charset=UTF-8]}
The text was updated successfully, but these errors were encountered: