Azure-Samples / active-directory-b2c-custom-policy-starterpack

Azure AD B2C now allows uploading of a Custom Policy which allows full control and customization of the Identity Experience Framework
http://aka.ms/aadb2ccustom
MIT License
334 stars 394 forks source link

Docs not explaining how to set-up starter-Pack #147

Open CliffAgius opened 1 year ago

CliffAgius commented 1 year ago

Hi all,

I am following the docs to play with the starter pack here:

https://learn.microsoft.com/en-us/azure/active-directory-b2c/tutorial-create-user-flows?pivots=b2c-custom-policy

And at the point of the Upload the policies I am getting errors that look like an issue with the start-pack rather than the docs, or the docs are missing the required steps to explain how to prepare the files prior to upload.

I can upload the 3 TrustedFramework files but when I upload the SignUpOrSignIn.xml file I get the following error:

image

I am barely a beginner with this hence using the starter-pack as I learn but the docs and files should really match and provide a working example while it explains the way it works.

If anyone knows what is causing this issue I would like to know and I would happily fix the docs if it's a simple set of steps or maybe the starter-pack needs fixing so this issue is resolved.

Thanks

Cliff.

floge07 commented 4 months ago

I'm experiencing the exact same issue.

@CliffAgius Did you ever find a solution?

floge07 commented 4 months ago

This helped #144

I added

<!-- OutputClaims added for resolve the validation errors -->
<OutputClaim ClaimTypeReferenceId="alternativeSecurityId" />
<OutputClaim ClaimTypeReferenceId="identityProvider" />

to <TechnicalProfile Id="LocalAccountSignUpWithLogonEmail"> and now it works. Btw I've used the "SocialAndLocalAccounts" sample.