We have created a single page application in react with Auth0 integration which is working fine.
Now we would like to access the custom API built in node js (configured in Auth0) from our SPA.
I have tried with the access_token generated from the SPA authResult, but it fails as unauthorized. Can someone redirect with the integration for SPA + custom API configured in the Auth0?
Welcome to the Community!
Here is our doc on SPA + custom API, but it is a bit outdated with implicit grant and auth0 js.
Are you adding the
audience parameter to your request, with the api identifier as the value?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.