-
-
Notifications
You must be signed in to change notification settings - Fork 204
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
[转 #5135] PCL 不会自动读取 X-Authlib-Injector-API-Location 标头 #5168
Comments
谁地址不规范了? POST https://account.ely.by/api/authlib-injector/authserver/authenticate
{
"username": "********"
"password": "********"
} |
文档内提供的地址是 https://authserver.ely.by/auth/authenticate |
文档中也提供了如何使用 authlib-injector。 |
authlib-injector 会自动将参数 ALI 到正确网址,同时启动器也应当实现。 |
没太懂什么意思,如果是想要 PCL 支持站内的 OAuth 登录系统... 你可以去问问 @wuliaodexiaoluo 能不能做(或者找鸽秋.jpg)
这算表述有误,已经改了,不过我的原意是指 ely.by 文档直接提供的路径和规范要求的不符 |
要不你先自己去试试将认证服务器填为 |
This comment was marked as resolved.
This comment was marked as resolved.
……你看的文档那是人家自己的规范。 |
显然 PCL 并没有考虑到会有通过 ALI 提供验证服务器地址的皮肤站,不过如果只是解决无法登陆 Ely.by,那么这个 Issue 已经覆盖了这个问题((( |
PCL 使用 |
https://account.ely.by/ 能找到这个标头,不过我这里 https://ely.by/ 还是没有。 |
curl -I "https://ely.by" |
检查项
描述
根据 规范
皮肤站会在启动器请求时返回一个
X-Authlib-Injector-API-Location
标头来帮助启动器确认 Yggdrasil 认证服务器的实际地址但是 PCL 实际上并不会读取这个标头,导致无法登录部分站内文档直接提供的地址实际路径和规范不符合的皮肤站
Like #5135
重现步骤
找一个地址不规范但提供标头的皮肤站 (ely.by)
填写认证地址,登录即可复现
日志与附件
Log1.txt
这个其实可以自行复现.jpg
The text was updated successfully, but these errors were encountered: