英文:
Microsoft Azure invalid app registration error
问题
我一直在尝试创建一个将Minecraft帐户链接到Discord的应用程序,并遵循了该API(oauth2部分)的指南:https://mojang-api-docs.gapple.pw/authentication/msa
尽管我做了一切正确,但仍然不断出现错误:
data: {
ath: '/authentication/login_with_xbox',
errorMessage: '无效的应用程序注册,请参阅https://aka.ms/AppRegInfo以获取更多信息'
}
以下是我的应用程序配置:
"azure": {
"client_id": "0bcbd41f-e785-45e4-b63c-3a68a0297007",
"client_secret": "不想在这里发布它",
"redirect_uri": "https://magiauth-verification.onrender.com/"
}
我尝试重新创建一个应用程序并更改支持的帐户类型(任何组织目录中的帐户(任何Azure AD目录 - 多租户)和个人Microsoft帐户(例如Skype、Xbox),仅个人Microsoft帐户等)。
英文:
I've been trying to make an app for linking minecraft account to discord and followed that API (oauth2 section) https://mojang-api-docs.gapple.pw/authentication/msa
Even tho I did everything correct, i keep getting error:
data: {
ath: '/authentication/login_with_xbox',
errorMessage: 'Invalid app registration, see https://aka.ms/AppRegInfo for more information'
}
Here is my app configration:
"azure" : {
"client_id": "0bcbd41f-e785-45e4-b63c-3a68a0297007",
"client_secret": "dont wanna post it here",
"redirect_uri": "https://magiauth-verification.onrender.com/"
}
I tried to remake an app and change supported account types (Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox), Personal Microsoft accounts only etc.)
答案1
得分: 1
我遇到了同样的问题,结果发现 Mojang 现在拒绝新应用,除非你在以下链接上注册。经过 3-4 周,他们通过邮件回复我,我的应用终于可以正常工作了!只需填写表格然后等待!
祝好运
英文:
I had the same problem and it turns out that Mojang refuses new apps now, unless you register on the following link. After 3-4 weeks they responded to me via mail and my app finally works! Just complete the form and wait!
Good luck
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论