- Frontend: Angular
- Backend: .NET core API
- Environment: MS Azure;
Requirement: We want .NET core API to accept requests from authorized UI application who are having access token. We are current trying to get the access token so that we can include in header and send to .NET core API, but we are facing an issue that while running the angular application locally we are unable to get access token from online.Microsoftonline.com instead the infamous CORS error.
What is wrong we may be doing?