XAuth Live demo

Sign in with Xbox, the easy way

This is a demo app built on XAuth. Sign in with your Microsoft account and you'll see exactly what your own app would receive: the user's Xbox Live profile as JSON.

Sign in with Xbox

You'll be sent to Microsoft to sign in, then straight back here.

How it works
  1. • Step 1

    The button sends the user to your app's XAuth URL (https://auth.xauth.app), which forwards them to Microsoft's sign-in page.

  2. • Step 2

    After they sign in, Microsoft sends them back to your redirect URL with a one-time ?code=.

  3. • Step 3

    Your server swaps that code for the Xbox Live profile with one request:

POST https://claim.xauth.dev
Content-Type: application/json
Accept: application/json

{
    "app_id": "9dc1becf-1baa-464d-a237-74e2d09e1066",
    "secret": "YOUR_APP_SECRET",
    "code": "THE_CODE_FROM_THE_QUERY_STRING"
}

Want this for your own app? Start a free 30-day trial · Read the setup guide