Azure-Samples / ms-identity-javascript-v2

VanillaJS sample using MSAL.js v2.x and OAuth 2.0 Authorization Code Flow with PKCE on Microsoft identity platform
MIT License
105 stars 84 forks source link

Got error in console for cors #29

Closed sakilbheda-rh closed 3 years ago

sakilbheda-rh commented 3 years ago

Access to fetch at 'https://login.microsoftonline.com/common/oauth2/v2.0/token' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

derisen commented 3 years ago

@sakilbheda-rh can you confirm that you've followed the registration steps here? If so, can you please share your application manifest (masking your credentials)?

derisen commented 3 years ago

Closing due to inactivity. Let us know.