skip to Main Content

Azure – What is the use of COBRAND ID in Microsoft OAUTH 2.0?

async function authenticateDevice() { const client_id = ''; const scope = 'offline_access xboxlive.signin xboxlive.offline_access'; const cobrand_id = '8058f65d-ce06-4c30-9559-473c9275a65d'; const data = qs.stringify({ 'client_id': client_id, 'scope': scope, 'cobrandid': cobrand_id }); const config = { method: 'post', url: 'https://login.microsoftonline.com/consumers/oauth2/v2.0/devicecode', headers: { 'Content-Type':…

VIEW QUESTION

Azure – Create a MS Dev Box with API

I have currently problems with the token for the MS Dev Center service. I call the REST API PUT {endpoint}/projects/{projectName}/users/{userId}/devboxes/{devBoxName}?api-version=2023-04-01 with a Bearer token like described: AAD Token I have the right authority. I have the right scope "user_impersonation" I…

VIEW QUESTION

Php – Codeignitor League OAuth2: Message: invalid_client – xero

I'm trying to intergrate with Xero via their API SDK (https://github.com/XeroAPI/xero-php-oauth2) I have installed via composer and am using Codignitor 3 for the framework. I keep getting this error: An uncaught Exception was encountered Type: LeagueOAuth2ClientProviderExceptionIdentityProviderException Message: invalid_client Filename: /var/www/vhosts/xxxx.co.uk/vendor/league/oauth2-client/src/Provider/GenericProvider.php…

VIEW QUESTION
Back To Top
Search