Auth0 Home Blog Docs

.NET API cannot read token after uploading



I am using an Angular 2 SPA that connects to a C# .NET Web API to handle authentication, and when I tested it locally, I didn’t have any problems. But after uploading it to Amazon Web Services (AWS), the API can’t seem to process the token properly. It gives an error in any API function that requires authorization. Everything else in the API seems to work fine.

Currently, I have the front end on S3 and the API on Elastic Beanstalk. What do I need to do to fix this?