Secure
OAuth 2.1 with mandatory PKCE handles all the complexity of authentication securely.
MC-ID is an open-source identity provider that allows users to authenticate using their Minecraft accounts, verifying ownership securely and easily.
MC-ID implements OAuth 2.1 with OpenID Connect (OIDC). This means it works just like “Login with Google” or “Login with Discord”, but for Minecraft.
We strongly recommend using the standard OAuth 2.1/OIDC flow for most applications.
Secure
OAuth 2.1 with mandatory PKCE handles all the complexity of authentication securely.
Single Sign-On (SSO)
Users verify their Minecraft account once and can log in to any MC-ID enabled application without needing to launch Minecraft again.
Standardized
Compatible with any OIDC client library (e.g., better-auth, arctic).
Future-Proof
Updates to MC-ID won’t break your integration.
Get Started with Vanilla JS
For advanced use cases where a web redirect is not possible (e.g., CLI tools, desktop apps, in-game mods), MC-ID offers a Headless API. However, this requires you to handle the verification lifecycle manually and is discouraged for standard web applications.
Learn about Headless Mode