Rory Braybrook
Feb 25, 2024

Use this:

<OutputClaim ClaimTypeReferenceId="Flag1" DefaultValue="{OAUTH-KV:Flag1}" AlwaysUseDefaultValue="true" />

where Flag1 is the value in the query string.

Then do:

<OrchestrationStep Order="x" Type="ClaimsExchange">

<Preconditions>

<Precondition Type="ClaimsExist" ExecuteActionsIf="false">

<Value>Flag1</Value>

<Action>SkipThisOrchestrationStep</Action>

</Precondition>

</Preconditions>

<ClaimsExchanges>

<ClaimsExchange Id="Call-API" TechnicalProfileReferenceId="REST API" />

</ClaimsExchanges>

</OrchestrationStep>

and similarly Flag2 would call another API

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Rory Braybrook
Rory Braybrook

Written by Rory Braybrook

NZ Microsoft Identity dude and MVP. Entra ID/Entra External ID/Azure AD B2C/VC. StackOverflow: https://bit.ly/2XU4yvJ Presentations: http://bit.ly/334ZPt5

Responses (1)

Write a response

Thanks Rory. I will test with this method. If possible, please share some reference links to this approach.