CmlLib
English (v4)
English (v4)
  • 🧊CmlLib Projects
  • 🚀CmlLib.Core
    • Home
    • Getting Started
      • Minecraft Launcher
      • Minecraft Path
      • Versions
      • Launch Options
      • Event Handling
    • Login and Sessions
      • Microsoft Xbox Account
      • Offline Account
    • More APIs
      • MinecraftLauncherParameters
      • Rules
      • FileExtractor
      • GameInstaller
      • Java
    • Mod Loader Installers
      • Forge Installer
      • Fabric Installer
      • Quilt Installer
      • LiteLoader Installer
    • Utilities
      • Minecraft Changelogs
    • Resources
      • FAQ
      • Known Issues
      • Sample Launcher
      • License
  • 🔓Auth.Microsoft
    • Home
    • CmlLib.Core.Auth.Microsoft
      • JELoginHandler
      • JELoginHandlerBuilder
      • JEAuthenticator
      • Authentication with MSAL
    • XboxAuthNet.Game
      • OAuth
      • XboxAuth
      • XboxAuthException
      • AccountManager
      • Accounts
    • XboxAuthNet.Game.Msal
      • ClientID
      • MsalClientHelper
      • OAuth
    • CmlLib.Core.Bedrock.Auth
    • Resources
  • 🌐MojangAPI
    • Home
    • Mojang API
    • SecurityQuestion
  • ⚒️Installer.Forge
    • Home
    • Supported Versions
    • Getting Started
    • MForge
    • ForgeVersionLoader
Powered by GitBook
On this page
  • 1. Go to Azure Active Directory
  • 2. App registration
  • 3. Authentication manage
  • 4. Register Client ID
Edit on GitHub
  1. Auth.Microsoft
  2. XboxAuthNet.Game.Msal

ClientID

PreviousXboxAuthNet.Game.MsalNextMsalClientHelper

Last updated 10 months ago

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 and find Azure Active Directory menu.

image

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

image
image
image
image
image
image
🔓
Azure Portal
https://help.minecraft.net/hc/en-us/articles/16254801392141help.minecraft.net
LogoGetting MinecraftAuthException: '403: Forbidden' when trying to login with Microsoft MSAL · Issue #16 · CmlLib/CmlLib.Core.Auth.MicrosoftGitHub