Closed alexandr-reshodko closed 11 months ago
Please give me your code. make sure you have passed proper scope to LoginMicrosoft
<LoginSocialMicrosoft
client_id={MICROSOFT_ID || ''}
redirect_uri={window.location.href}
onResolve={({ provider, data }) => {
console.log(provider, data)
}}
onReject={(err) => {
console.log(err);
}}
>
<MicrosoftLoginButton />
</LoginSocialMicrosoft>
I'm using default scope
Have you checked the permission of your app? I mean MICROSOFT_ID. 403 permission code is out of the scope of this library.
I've set scope like this scope={'openid profile User.Read email'}
and it worked.
Thanks
Hi! Thanks for this great plugin.
I have a problem with Microsoft authorization. When I try to login, it successfully gets the token but next request to "https://graph.microsoft.com/v1.0/me" fails with "403 Forbidden". Here is my app permissions
P.S. Login with google works without issues