skip to content
Alvin Lucillo

Not authorized to access resource server

/ 1 min read

If you see an error when Auth0 Angular SDK tries to call /authorize similar to the one below, it might be due to the SPA representing your app lacks access to the custom API, which is the audience you specified in the app config.

Client "Q3NryX...redacted" is not authorized to access resource server

To fix that:

  1. Go to the custom API’s Applicaition Access and click Edit beside the SPA
  2. Click the Grant Access button