Closed reachtokish closed 4 years ago
Thanks for report 👍 Seems like you're using tenantUrl, so probably you haven't allowed localhost in your organization
Thanks @alexandrtovmach for the info. I will check my azure configuration.
This issue is resolved. So my azure application is not multi-tenant and that is why I can't use /common in the url. And in that case I have to pass an extra parameter which is tenantUrl
. And tenantUrl also I was passing wrong. Below is the example code which worked for me if that helps anyone.
<MicrosoftLogin
clientId="YOUR_CLIENT_ID"
authCallback={(error, authData) => authHandler(error, authData)}
tenantUrl="https://login.microsoftonline.com/YOUR_TENANT_ID"
/>
Thanks for the great library!
@reachtokish Thank you :+1:
I'm getting the below CORS error while trying to implement this library
Below is my component
Can anyone kindly tell me what could be the possible reason for this error?