Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
OAuthprofile multiple Audience — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OAuthprofile multiple Audience

Question
7
Views
0
Comments
edited Mar 25, 2019 10:12AM in API Management

Summary

How to add multiple Audience in OAuth profile in APIPCS

Content

Hi Team,

My Sample OAuthprofile:
 
<OAuth2TokenLocalEnforcerConfig>
<Name>DEFAULT</Name>
<HeaderNameIDToken>IDToken</HeaderNameIDToken>
<!-- Issuer of the token. In this case Oracle Identity Cloud -->
<AudienceRestrictionFromConfig>true</AudienceRestrictionFromConfig>
<!-- Audience should match the Primary Audience in the Resource Server in IDCS -->
<Audience>SNLibraryAPI</Audience>
<MandatoryClaims></MandatoryClaims>
<!-- useFormat has 2 values  PEMFormatPubKey, X509FormatPubKey -->
    <PublicCertLocation useFormat='JWKFormatPubKey'>
    <JWKFormatPubKey>added the signature from IDCS</JWKFormatPubKey></PublicCertLocation>
</OAuth2TokenLocalEnforcerConfig>
 
in the above OAuth profile, I have used Audience as "SNLibraryAPI" which is the audience I have mentioned when I configured resource application in IDCS.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!