-
Notifications
You must be signed in to change notification settings - Fork 599
How do we allow redirect to azure ad b2c login page in <iframe> ? #606
I am attempting to run a angular applicaiton in a iframe. I want to allow the user to click a Login button within the application that is running inside the iframe without using a popup. I have followed the instructions to use custom domain instead of b2clogin. However, I am still getting a error message that redirect is not allowed inside a iframe. I have reviewed the article "Embedded sign-up or sign-in experience". However, I don't want to create a custom login page and instead I want to use the default b2c login page provided by MS. Also this article speaks of creating custom policies using xml files and is not very well documented. Custom policies seems very complicated and confusing. Is there a way to just configure the sign-in/up experience to allow the redirect if hosted on the same domain? I set 'allowRedirectInIframe: true' however this had no effect.