Hi Everyone
I have set up B2C authentication for my portal, and I have turned off custom authentication within Site Settings, however when I click on the Sign In ( I am changed the label to "Login" ) button I am still getting the following
I would like the user to be directed to my custom login page when they click login. I have looked at the Header web template and can see the following
<a role="menuitem" aria-label="{{ snippets["links/login"] | default:resx["Sign_In"] | escape }}" href="{% if homeurl%}/{{ homeurl }}{% endif %}{{ website.sign_in_url_substitution }}"> {{ snippets["links/login"] | default:resx["Sign_In"] | escape }} </a>
However I cannot see where I set {website.sign_in_url_substitution}.
Could someone please help me out and explain if I am going down the wrong route here, and if so how I can change to url of the Signin page to point to my custom login page.
Thanks
Paul
Solved! Go to Solution.
Hi @paul_matthews ,
If you have only one login provider that you want to use there is a simple way to configure it - go to Maker Portal (make.powerapps.com) find your portal app, click Settings -> Authentication settings. This will open an Identity providers page. Find your necessary identity provider, click on 3 dots and select Set as default. That's it. Now when your user will clicks on login/signin button he will be redirected to your custom provider.
Hi @paul_matthews ,
If you have only one login provider that you want to use there is a simple way to configure it - go to Maker Portal (make.powerapps.com) find your portal app, click Settings -> Authentication settings. This will open an Identity providers page. Find your necessary identity provider, click on 3 dots and select Set as default. That's it. Now when your user will clicks on login/signin button he will be redirected to your custom provider.