I have followed the instructions provided in Any way to provide default values for inputs in an Azure AD B2C custom policy? .
Unable to get the query parameter and save it on Azure B2C
The GivenName shows as NULL.
My technical profile looks like this:
<TechnicalProfile Id="LocalAccountSignUpWithLogonName">
<DisplayName>Sign Up with Username</DisplayName>
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.SelfAssertedAttributeProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
<Metadata>
<Item Key="IpAddressClaimReferenceId">IpAddress</Item>
<Item Key="ContentDefinitionReferenceId">api.localaccountsignup</Item>
<Item Key="LocalAccountType">Username</Item>
<Item Key="LocalAccountProfile">true</Item>
<Item Key="language.button_continue">Create</Item>
<Item Key="IncludeClaimResolvingInClaimsHandling">true</Item>
</Metadata>
<CryptographicKeys>
<Key Id="issuer_secret" StorageReferenceId="B2C_1A_TokenSigningKeyContainer" />
</CryptographicKeys>
<InputClaims>
<InputClaim ClaimTypeReferenceId="signInName" />
<InputClaim ClaimTypeReferenceId="extension_mfaByPhoneOrEmail" DefaultValue="SKIPMFA" />
<InputClaim ClaimTypeReferenceId="givenName" DefaultValue="{OAUTH-KV:name}" AlwaysUseDefaultValue="true"/>
</InputClaims>
Thanks