
Announcements
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
@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.