[Enter feedback here]
Under the "Test the custom policy" there is a reference to "webapp1" however in the complete document that is not mentioned,
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@Oppedijk
Thanks for your feedback! We will investigate and update as appropriate.
Thanks! Just made a pull request to fix this. https://github.com/MicrosoftDocs/azure-docs-pr/pull/119471
Can you please double check if this was the correct solution, as this sample is really bad. In another issue #55576 I found a different explanation, that you would need to start the "prerequisite" application.
Either way, the document is missing that the reply url with https://jwt.ms should be added. Also issue 1 from #55576 is still there.
This whole sample thing is a mess and too complicated explained
@Oppedijk you are correct, the change in https://github.com/MicrosoftDocs/azure-docs-pr/pull/119471 is incorrect and should not be merged. I've requested that @MarileeTurscak-MSFT close the PR.
this sample is really bad.
It's a difficult process to clearly explain because the nature of the process itself is inherently (and unfortunately) complex. Until (and if) the two internally used app registrations--ProxyIdentityExperienceFramework and IdentityExperienceFramework--are created automatically for you, this lengthy process must be followed.
Either way, the document is missing that the reply url with https://jwt.ms should be added.
In the article that is part of the prerequisites, Register your application, you are directed to create the https://jwt.ms redirect URI:

As an attempt at mitigating some of this confusion/frustration, I'll see if I can further clarify that these two app registrations are used internally by B2C as @jarekkoziol suggests in https://github.com/MicrosoftDocs/azure-docs/issues/55576#issuecomment-646962295.
@Oppedijk, if you have any other suggestions about how to more clearly explain this process, I'm certainly open to considering them, and you're absolutely welcome to make direct contributions via PR that we can review. As mentioned, this is a tough one to explain and with so many steps it's easy to miss one, but they're unfortunately all required.
Cc: @msmimart