ClientID¶
For using MSAL, You should acquire your own Azure Client ID. This document describes how to acquire your own Azure Client ID for Xbox authentication.
1. Go to Azure Active Directory¶
Open Azure Portal and find Azure Active Directory menu.
2. App registration¶
Add - App Registration
Name: your app name
Account type: Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)
Redirect URI: Public client/native, http://localhost
Click 'Register' button.
3. Authentication manage¶
Go to App registrations - your app name
In this screen, you can get Application (Client) ID
Click Redirect URIs
Add 'Msal Only'
Scroll down and 'Allow public client flows'
Click 'Save' button
4. Register Client ID¶
https://help.minecraft.net/hc/en-us/articles/16254801392141
https://github.com/CmlLib/CmlLib.Core.Auth.Microsoft/issues/16