azure-ad-b2c-custom-policy

Query String Claims Resolver with SAML2 B2C Custom Policy

左心房为你撑大大i 提交于 2021-02-08 11:15:24
问题 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

Could an Azure AD B2C custom policy theoretically produce a token from social IDP claims even without an Azure AD user?

别说谁变了你拦得住时间么 提交于 2021-01-29 09:35:11
问题 This a (mostly) theoretical question from a new B2C user. If all of the claims I send to the RP are available from an OIDC ClaimsProvider, I seem to be able to create a "pass through" custom policy that doesn't actually require an Azure AD user to exist - token is just created from claims. Are there any ways in which this will break B2C processing? I haven’t found any during limited testing. Does it pose any long-term headaches for B2C support? 回答1: Well, at the very least it is unexpected.

Bug identified in Azure B2C MFA phone number format (missing spaces)

和自甴很熟 提交于 2021-01-07 06:33:40
问题 This was suggested by Hari Krishna on another thread to open a new SO thread for this discussion. How do I programmatically clear or update a phone number for Azure AD B2C MFA? We are using B2C custom policies with a step to write back the user's MFA profile to the B2C profile. The B2C technical profile name is AAD-UserWritePhoneNumberUsingObjectId . <!-- Save MFA phone number: The precondition verifies whether the user provided a new number in the previous step. If so, then the phone number

Bug identified in Azure B2C MFA phone number format (missing spaces)

女生的网名这么多〃 提交于 2021-01-07 06:32:30
问题 This was suggested by Hari Krishna on another thread to open a new SO thread for this discussion. How do I programmatically clear or update a phone number for Azure AD B2C MFA? We are using B2C custom policies with a step to write back the user's MFA profile to the B2C profile. The B2C technical profile name is AAD-UserWritePhoneNumberUsingObjectId . <!-- Save MFA phone number: The precondition verifies whether the user provided a new number in the previous step. If so, then the phone number