web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Pages
Answered

Change SignIn URL

(0) ShareShare
ReportReport
Posted on by 66

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 

 

paul_matthews_0-1632847031960.png

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

 

Categories:
  • Verified answer
    OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    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.

  • Verified answer
    paul_matthews Profile Picture
    66 on at

    @OOlashyn - thanks for your response.  Worked great !!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 18

#2
11manish Profile Picture

11manish 14 Super User 2026 Season 2

#3
SP2019admin Profile Picture

SP2019admin 4

Last 30 days Overall leaderboard