My Oracle Support Banner

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

Last updated on SEPTEMBER 07, 2023

Applies to:

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

Goal

Working on OpenIDConnect/OAuth2.0 in OAM 12.2.1.3.181213, 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?
 

Solution

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
Goal
Solution
References


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