Skip to content
TesseraDocs
MenuAudience not allowed for an app-scoped admin

Audience not allowed for an app-scoped admin

Code: audiencenotallowed

View as Markdown

On this page

Code: audience_not_allowed

  • HTTP status: 403 Forbidden
  • Shown to the end user: Audience not allowed for an app-scoped admin

Request-specific detail for this error goes to the app or developer (API response, developer view, logs). The public page shows only the short message and the code.

Cause

An app-scoped admin may add an audience to its app only when one of the app's clients lists it in allowed_resources. Otherwise the app's roles and scopes could be injected into another resource server's tokens.

Fix

Ask a realm admin to add the audience to the client's allowed_resources, or remove it from the request.

All error codes