- Create an azure oAuth project, here a Name it whatever you want b For the supported account types, choose 'Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)' c Set a redirect URI such as http://localhost:300/authorize/
- Goto Dashboard → App → Certificates & secrets and under
Client secrets
click on+ New client secret
a EnterDescription
, eg:Example Secret Key
b ForExpires
chooseNever
Congrats! Now you just have to copy the client-id (available on your project description), and your client-secret, available on the secret you just created (click on the copy button). Please, store these values safely, and do not share client-secret with anyone!
composer require <to-do>
$client = new quiquelhappy\xbox\Client($clientId,$clientSecret);