bs-community / blessing-skin-plugins

Official plugins for Blessing Skin.
MIT License
77 stars 36 forks source link

正版验证(mojang-verification)插件无法验证微软账户 #186

Open xiaobao4909 opened 1 year ago

xiaobao4909 commented 1 year ago

如题 我使用了php 8.1 + mysql8 v6.0.2的皮肤站版本 2.0.0的正版验证(mojang-verification)插件版本 情况大概为我确认同意登录之后 跳出: 500 Internal Server Error 详细信息:Undefined array key "access_token" 因此而无法正常验证正版账号 config(.env中的此插件配置部分): MICROSOFT_KEY=xxx MICROSOFT_SECRET=xxx MICROSOFT_REDIRECT_URI=https://skin.hlxb.net/mojang/callback 我确认key和secret是正确的 我该怎么解决此问题?

Tomato3Banka commented 1 year ago

https://help.minecraft.net/hc/en-us/articles/16254801392141 现在第三方必须向官方提交申请表单提交“应用程序(客户端) ID”等信息,才能正常调用API 只有1-5条是必填,后面可以不用写

vltown commented 1 year ago

https://help.minecraft.net/hc/en-us/articles/16254801392141 现在第三方必须向官方提交申请表单提交“应用程序(客户端) ID”等信息,才能正常调用API 只有1-5条是必填,后面可以不用写

没用啊,已经两个星期了还是不能用,还是出现这个issues中的问题

vltown commented 1 year ago

如题 我使用了php 8.1 + mysql8 v6.0.2的皮肤站版本 2.0.0的正版验证(mojang-verification)插件版本 情况大概为我确认同意登录之后 跳出: 500 Internal Server Error 详细信息:Undefined array key "access_token" 因此而无法正常验证正版账号 config(.env中的此插件配置部分): MICROSOFT_KEY=xxx MICROSOFT_SECRET=xxx MICROSOFT_REDIRECT_URI=https://skin.hlxb.net/mojang/callback 我确认key和secret是正确的 我该怎么解决此问题?

请问你解决这个问题了吗,我也是这个问题,不知道怎么解决

graytoowolf commented 1 year ago

这个月3号,我网站都还有人认证通过了。最近没有认证的不清楚能不能通过了。

SRY-CTB commented 1 year ago

这个月3号,我网站都还有人认证通过了。最近没有认证的不清楚能不能通过了。

发邮件通知的?

graytoowolf commented 1 year ago

这个月3号,我网站都还有人认证通过了。最近没有认证的不清楚能不能通过了。

发邮件通知的?

我说的是正版验证。我也没给官方提交申请表。

Tomato3Banka commented 1 year ago

https://help.minecraft.net/hc/en-us/articles/16254801392141 现在第三方必须向官方提交申请表单提交“应用程序(客户端) ID”等信息,才能正常调用API 只有1-5条是必填,后面可以不用写

没用啊,已经两个星期了还是不能用,还是出现这个issues中的问题

Mojang Studios IP Enforcement <enforcement@mojang.com>

Greetings!

Thanks for filling out the form requesting access to our API.  We have had a delay in getting some of the internal data to review and verify some of the requests.  
Please note that we are working on the requests and will get them enabled as soon as possible.

Thanks for being patient as we continue to refine and improve this new process.

Thanks!

我在等待两周后收到了这个邮件,大概意思就是 摸了,还没搞定第三方调用的审核流程之类的 如果通过了应该会收到相关邮件

vltown commented 1 year ago

Your AppIDs will be processed Today.

If you find yourself not having access to the API it most likely will be for one of the following reasons:

Mature content was found on your site Your site has been reported for phishing or other malicious activity Your app/site promotes and/or enables servers to bypass our server enforcement mechanisms (blocked table) Your app/site somehow disabled or disrupts Mojang safety features in game.

If your app is blocked for one of the following we will not send a notification.

Thanks,

Mojang Enforcement

我收到了这个,但是我没有出现以上任何情况,只是一个皮肤站而已,我的API还是不能用

vltown commented 1 year ago

刚刚好两周整,不多不少,早一天也不给我处理,处理了还不能用。

vltown commented 1 year ago

我的已经可以访问API了,但是又出现一个问题,绑定正版用户后更新uuid显示更新uuid失败,没有任何日志信息,我看了下正版验证插件,里面只有一个update-uuid.js!function(e){"use strict";var t;null===(t=document.querySelector("#update-uuid"))||void 0===t||t.addEventListener("click",async()=>{const{code:t,message:s}=await e.fetch.post("/mojang/update-uuid"),{toast:c}=e.notify;0===t?c.success(s):c.error(s)})}(blessing);,我不知道是否是这个js的问题,请问有哪位大佬遇见过这个问题吗,请问是怎么解决的

wifi-left commented 1 year ago

我的已经可以访问API了,但是又出现一个问题,绑定正版用户后更新uuid显示更新uuid失败,没有任何日志信息,我看了下正版验证插件,里面只有一个update-uuid.js!function(e){"use strict";var t;null===(t=document.querySelector("#update-uuid"))||void 0===t||t.addEventListener("click",async()=>{const{code:t,message:s}=await e.fetch.post("/mojang/update-uuid"),{toast:c}=e.notify;0===t?c.success(s):c.error(s)})}(blessing);�,我不知道是否是这个js的问题,请问有哪位大佬遇见过这个问题吗,请问是怎么解决的

应该是上面api问题。api被微软阻止了,然后获取不到玩家信息,可能

tnqzh123 commented 1 year ago

actually 我个人不推荐使用「同步 UUID」功能了 在某些情况下会造成 UUID 重复的问题,处理起来蛮麻烦的

D3adEr1c commented 9 months ago

我的已经可以访问API了,但是又出现一个问题,绑定正版用户后更新uuid显示更新uuid失败,没有任何日志信息,我看了下正版验证插件,里面只有一个update-uuid.js!function(e){"use strict";var t;null===(t=document.querySelector("#update-uuid"))||void 0===t||t.addEventListener("click",async()=>{const{code:t,message:s}=await e.fetch.post("/mojang/update-uuid"),{toast:c}=e.notify;0===t?c.success(s):c.error(s)})}(blessing);�,我不知道是否是这个js的问题,请问有哪位大佬遇见过这个问题吗,请问是怎么解决的

也遇到这个问题了 这个接口貌似无了 如果只是获取最新用户名的话,感觉可以AccountController.php改用这个api:https://sessionserver.mojang.com/session/minecraft/profile/<uuid> Mojang Api 参考:https://geekdaxue.co/read/Minecraft-doc-zh/Mojang_API.md