samples
samples copied to clipboard
Not sure , can we get request parameters from ClientCredentialsFlow(custom policy) ?
trafficstars
Not sure , can we get request parameters from ClientCredentialsFlow?
https://github.com/azure-ad-b2c/samples/blob/master/policies/client_credentials_flow/ClientCredentialsFlow.xml
So , i try ClaimsTransformationProtocolProvider but not working, Any Idea ?
<TechnicalProfile Id="Get-Parameters">
<DisplayName>Set the BrandId and other query params from the OIDC:ClientId field in the url params</DisplayName>
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.ClaimsTransformationProtocolProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
<Metadata>
<Item Key="IncludeClaimResolvingInClaimsHandling">true</Item>
</Metadata>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="promotionCode" DefaultValue="{OAUTH-KV:value}" AlwaysUseDefaultValue="true" />
</OutputClaims>
<UseTechnicalProfileForSessionManagement ReferenceId="SM-Noop" />
</TechnicalProfile>