Hi.
I created an app on azure and using its Client ID and Client secret I am able to authenticate and everything works as expected but when I try it with a Microsoft Business Account I get "Access Token is Empty error".
Here is my configuration, I used microsoft online urls for auth and token:
`
/**
Default scopes
@var array
*/
public $defaultScopes = 'openid profile email User.Read.All';
Moreover, When I debug the app, I get the token in $token but for some reason it doesn't get appended to ResourceOwner detail call and that call returns Access token is empty.
Hi. I created an app on azure and using its Client ID and Client secret I am able to authenticate and everything works as expected but when I try it with a Microsoft Business Account I get "Access Token is Empty error". Here is my configuration, I used microsoft online urls for auth and token:
` /**
Default scopes
@var array
*/ public $defaultScopes = 'openid profile email User.Read.All';
/**
Base url for authorization.
@var string */ protected $urlAuthorize = 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize';
/**
Base url for access token.
@var string */ protected $urlAccessToken = 'https://login.microsoftonline.com/common/oauth2/v2.0/token';
/**
Base url for resource owner.
@var string */ protected $urlResourceOwnerDetails = 'https://graph.microsoft.com/v1.0/me';`
Moreover, When I debug the app, I get the token in
$token
but for some reason it doesn't get appended to ResourceOwner detail call and that call returns Access token is empty.Anyone else faced the same issue?