Collecting value of id_token_hint from url in AD B2C Custom policy

471 Views Asked by At

I'm using this article to pass id_token_hint to my custom policy, my requirement is there any way to collect the value from the URL and pass that in the load URI of content definition

What I did for this is used claim resolver, but this is not working. If I hardcode some value instead of {OAUTH-KV:id_token_hint} then that works.

 <UserJourneyBehaviors>
      <ContentDefinitionParameters>
        <Parameter Name="id_token_hint">{OAUTH-KV:id_token_hint}</Parameter>
      </ContentDefinitionParameters>
      <ScriptExecution>Allow</ScriptExecution>
 </UserJourneyBehaviors>

Also defined a claimtype (think this is not required to pass the value to load uri)

<ClaimType Id="id_token_hint">
     <DisplayName>id_token_hint</DisplayName>
     <DataType>string</DataType>
     <UserHelpText>id token hint</UserHelpText>
</ClaimType>

But it is not sending the query string in my custom load URI in the content definition.

Edit:

If I pass the same value with another parameter say idtokenhint that works, but id_token_hint is not working.

0

There are 0 best solutions below