Skip to content

Getting MinecraftAuthException: '403: Forbidden' when trying to login with Microsoft MSAL #16

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

Open
silbergrom opened this issue Jun 8, 2023 · 3 comments

Comments

@silbergrom
Copy link

I'm getting this error "CmlLib.Core.Auth.Microsoft.Mojang.MinecraftAuthException: '403: Forbidden'" when trying to sign in via loginHandler.LoginInteractive.

@silbergrom
Copy link
Author

silbergrom commented Jun 9, 2023

So I looked at the HttpRequest and found out that new Apps that want to use the Minecraft Auth API needs to be registered at Mojang. See here for further information: https://help.minecraft.net/hc/en-us/articles/16254801392141

@lostmsu
Copy link

lostmsu commented Jun 15, 2023

@silbergrom did you figure this one out? Is there a tutorial on how to create an AppID that form demands? Is it just an Azure app identifier?

@silbergrom
Copy link
Author

Just use this tutorial from CmlLib: https://github.com/CmlLib/CmlLib.Core.Auth.Microsoft/wiki/Create-Client-ID-for-MsalClient

@AlphaBs AlphaBs pinned this issue Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants