OAuthprofile multiple Audience
Summary
How to add multiple Audience in OAuth profile in APIPCSContent
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.
0