I’m relatively new to Auth0. I’m building a classical SPA app (Angular) with a server (Node).
Authentication is actually working with Auth0, but I don’t understand the roles of the API’s section of the dashboard. Do we need a custom API (currently we have one)?
My understanding is like this:
- Connections (sources of users)
- Applications (we have 2, the server and the SPA)
- Mangement API (control Auth0 related stuff)
- Authentication API (login and obtain tokens)
But do we need custom APIs - they are part of many of the tutorials?
I noticed that I can login in the SPA without specifying an “audience”, but if I specify the “audience” (the name of the custom API) I get a different token (the access token is longer)?
Can someone help me understand “audience” and “custom API” in this setup?
Thanks so much