My Oracle Support Banner

OAM12c How To Set Custom Audience For OAuth Access Tokens (Doc ID 2531263.1)

Last updated on FEBRUARY 03, 2022

Applies to:

Oracle Access Manager - Version and later
Information in this document applies to any platform.


Working on OpenIDConnect/OAuth2.0 in OAM, and we created the following OAuth REST API documentation - the following artifacts:

- Identity Domain
- Resource Server
- Client

We noticed that, when OAM generates an access token, it only contains audiences (inside field "aud") that are the name of the client and of the resource servers, related to the requested scopes.
In OAM11g it was possible to set a custom audience for a particular resource server, regardless of its name. Also in IDCS it is possible.

How to accomplish the same goal on OAM12c?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.