0

In this scenario, once a user requests a b2c Login / Registration, every time web-application redirects that requests to b2c and that requests appended with a random query string value each time.
Now, from b2c side we have to read those random / dynamic query string parameters and return query string parameters as a claims in JWT token response to the calling application. Query param ex:- Example:- &xyz=12345 / &token=AGCOMM_678_IRA Is there any reference to handle these scenario? What do we have to modify in this technical profile to read the random / dynamic query string values?.
check Parameter Profile to fill claims with parameter values true             

1 Answers1

1

Use claims resolvers.

e.g.

<InputClaims>
    <InputClaim ClaimTypeReferenceId="Query" DefaultValue="{OAUTH-KV:xyz}" />
</InputClaims>

The value of "Query" is then 12345.

Note:

Settings:

  • The IncludeClaimResolvingInClaimsHandling metadata must be set to true
  • The input or output claims attribute AlwaysUseDefaultValue must be set to true
rbrayb
  • 46,440
  • 34
  • 114
  • 174