Use case : As a developer i want to to extract the redirect_uri from the b2c idp url and then apply claim transformation preferably a string one to extract certain information and use that to build the loadURi under content definition and display the html pages dynamically
From the above redirect_uri = https://something.somedomain.com-- using a claim transformation i want to extract somedomain
- make the call to the parameter in the relying party.xml as below
<DefaultUserJourney ReferenceId="SignUpOrSignIn" />
<UserJourneyBehaviors>
<ContentDefinitionParameters>
<Parameter Name="redirect_uri">{OIDC:RedirectUri}</Parameter>
</ContentDefinitionParameters>```
Build the LoadUri in contentdefinition of api.selfasserted
```<ContentDefinition Id="api.selfasserted">
<LoadUri>https://somestoragaccount/{OIDC:RedirectUri}/unified.html</LoadUri>
<RecoveryUri>~/common/default_page_error.html</RecoveryUri>
<DataUri>urn:com:microsoft:aad:b2c:elements:contract:selfasserted:2.0.0</DataUri>
<Metadata>
<Item Key="DisplayName">Collect information from user page</Item>
</Metadata>
</ContentDefinition>```