@Andrey Kuznetsov I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.
B2C login custom template hosted on my app in Azure Docker is displaying a blank page
Andrey Kuznetsov
65
Reputation points
I have a Blazor server app hosted in Azure registries using a B2C login. This is working fine.
I created my own template to change the B2C login UI.
A simple cshtml and controller were created in the same app
(I am not using Azure blob) with code:
Tenant2 template page
<div></div>
The CORS problem was solved. Now If I use my template then the B2C login page is blank.
No errors in the dev tool console. The source code of the B2C login page has <div></div>
in it plus some HTML, CSS, and js code with a size of around 166kb.
Looks like the B2C js is not running for some reason. Any help is appreciated.
Thanks.
Microsoft Security | Microsoft Entra | Microsoft Entra External ID
3,285 questions
Microsoft Security | Microsoft Entra | Microsoft Entra ID
25,160 questions
Accepted answer
-
Givary-MSFT 35,626 Reputation points Microsoft Employee Moderator
2023-01-31T11:55:12.91+00:00