'Auth0 - API to be accessed by both users and other APIs
My project has an Angular frontend and a .NET backend. The .NET API is protected with auth0 using an authorization code with PKCE flow which the frontend has to authenticate against. However, the .NET API also needs to be accessible by a second external .NET API using machine credentials and the client credential flow. How would I go about setting up both of these authentication flows in one API, and how to tag each endpoint based on whether it is being accessed by the frontend or the external API?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
