7

So, I'm working on a website, and I want users to be able to log in with their xbox account to link their gamer tag to my site. I can use oauth like this:

mysite

But, I can't figure out how to get xbox live permissions. Other sites that do this have permissions like this:

perms

How do I get this permissions which allow me to get info from an xbox account, like the gamertag? On the permissions page I don't see xbox anywhere.

Noah Cristino
  • 757
  • 8
  • 29

1 Answers1

9

You can do this pretty easily by using Xbox Live API, Sign up for the Xbox Live Creators Program and then you can call the Xbox Live REST endpoints directly to ask the user to authorize your application.

The official API documentation provides excellent examples to help you progress at a quick pace. Also you can refer to Windows UWP for Xbox Live Services for some detailed info.


Sources: Xbox Live Creators Program Github Repo of Xbox Live API

EX0MAK3R
  • 185
  • 13
  • 1
    For future readers, if you're a student you can get a free Xbox live developer account through Microsoft Imagine, which you need for the Xbox Live Creators Program. – Noah Cristino Oct 26 '17 at 23:47
  • On the official xbox website it says we can use it for game development. Is it allowed for web apps also? – cEeNiKc Mar 22 '19 at 10:28
  • @ex0mak3r can you point me to where these specific rest endpoints are for authenticating? I have apps created but can't find any good examples of specific rest endpoints for authenticating. – nightsurgex2 Sep 06 '19 at 01:22
  • Would anyone mind providing a modern and more complete answer here? I've spent many hours exploring the creators program, signing up, creating an app, etc, with little success. Huge thanks in advance. – Patrick Dec 24 '19 at 19:47
  • @Patrick hey Patrick, I've also been looking into this for some time now, did you finally achieve anything? I'm about to enroll into the Creators Program, but I'm unsure if I should pay the registration fee, so before trying to do it, I would like to know if it is worth it :) – quiquelhappy Oct 25 '20 at 15:39
  • @nightsurgex2: did you guys ever find a solution? please help, stuck in same problem... – Syed Ali Taqi Feb 11 '21 at 11:39