Query String Claims Resolver with SAML2 B2C Custom Policy
问题 Is it possible to read a custom query string parameter from a SAML2 relying party request?. Using the {OAUTH-KV:any custom query string} does not work. example: https://mytest.b2clogin.com/mytest.onmicrosoft.com/B2C_1A_TEST_SAML/samlp/sso/login?myparameter=true I need to read the "myparameter" value into a claim. 回答1: Hope you are trying to do the following: <InputClaims> <InputClaim ClaimTypeReferenceId="givenName" DefaultValue="{OAUTH-KV:name}" /> </InputClaims> To get the value from the