@amanpreetsingh-msft
When I tested the user flow,
https://docs.microsoft.com/en-us/azure/active-directory-b2c/tutorial-customize-ui#test-the-user-flow
I get the following error message from https://jwt.ms and signin page didn't even show up.
@amanpreetsingh-msft
When I tested the user flow,
https://docs.microsoft.com/en-us/azure/active-directory-b2c/tutorial-customize-ui#test-the-user-flow
I get the following error message from https://jwt.ms and signin page didn't even show up.
Hi, can you please post a screenshot of the error? It's not showing up here.
Thanks,
James
The error is in the URL. Nothing was loaded because in the URL it says, it contains the script errors preventing it from being loaded.
@CarolLai-5934 · Could you please try using this URL: https://moviesdiag132.blob.core.windows.net/b2c/unified2.html as Custom page URI under Page layouts section of your User Flow and let me know if it works or you still get the same error.
Hi @CarolLai-5934 · Thank you for the confirmation.
To resolve the issue, you need to navigate to your Storage Account (where the HTML and CSS files are hosted) and configure CORS settings as highlighted below:

Please "Accept the answer" if the information helped you. This will help us and others in the community as well.
I had that setting in my CORS as ExxxCxxB2C.b2clogin.com because that's how it was shown in the user flow.
It turns out that the whole domain name has to be in lowercase letters. It's working now after I change the domain to all lowercase letters.
It's working now after I change the domain to all lowercase letters. Thanks @CarolLai-5934
This should be added to the documentation! Thanks spent a good while chasing this one down today
Also, make sure that there is no trailing slash on the domain. For example, this should work:
https://testmyapp.b2clogin.com
But this won't:
https://testmyapp.b2clogin.com/
9 people are following this question.