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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Silent SSO using AD B2...
Power Pages
Unanswered

Silent SSO using AD B2C across different sub domains.

(0) ShareShare
ReportReport
Posted on by 50

I have successfully implemented AD B2C. I can sign in on power pages generated site XYZ.customdomain.com and when I switch to another power page generated site ABC.customdomain.com I can click a "sign in with AD B2C" button and all works fine: I can access my secured pages.   However, what I would like is for the user not to have to click the "Sign in with AD B2C" button but for the B2C enabled logon to the second site to be completely seamless.  i.e. a silent B2C logon to the second sub domain.  The whole idea is that although these are technically different websites as far the website visitor is concerned they are really just visiting customdomain.com  and unless they appreciate the technical difference between  XYZ.customdomain.com and customdomain.com/XYZ  it should just feel like one "website".  The second "sign in with AD B2C" button is spoiling this effect.

 

Is there a simple way to make the logon to the other sub domains silent once they have authenticated with any other sub domain using AD B2C

Categories:
I have the same question (0)
  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at

    @NicholasPlant  portal needs to redirect users to the sign-in page to initiate the sign-in process. If your AD B2C is a default provider for your Power Pages site there are two main approaches to achieving "silent" sign-in. If there is no anonymous page that your user needs to access on the portal you can create a Web Page Access Control Rule for the Home page, so any user that lands there will be redirected to the sign-in page and SSO will kick in. The second scenario is that you have anon pages or pages that need to be accessible by both anon and authenticated users. In that scenario, you need to have some sort of identifier to understand who arrived on your page(like URL param of sort etc) and then run js code to redirect the user to the sign-in page.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 74 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard