Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Refused to display in a frame because it set 'X-Frame-Options' to 'deny'. #79

Closed
BartNetJS opened this issue Feb 4, 2015 · 3 comments
Closed

Comments

@BartNetJS
Copy link

Hi,
I have implemented the adal library in Visual Studio Hybrid App (Cordova)
When I try to run in in the ripple emulator I got

"Refused to display 'https://login.microsoftonline.com/login.srf?wa=wsignin1.0&wtrealm=....'
in a frame because it set 'X-Frame-Options' to 'deny'."

It is working fine on a native device.

Is there a way to allow login.microsoftonline.com to accept rendering in an iFrame?
Also, the page normally redirect to an sts adfs server. Maybe there is a way to redirect directly to the sts uri?

Thanks

@vibronet
Copy link
Contributor

vibronet commented Feb 5, 2015

The credentials gathering experience cannot be iframes for security reasons. This is not likely to change...

@vibronet
Copy link
Contributor

vibronet commented Feb 5, 2015

...for skipping the first page, try http://www.cloudidentity.com/blog/2014/11/17/skipping-the-home-realm-discovery-page-in-azure-ad/ but I am. It not sure whether you'll be allowed to go past the frame buster though. I'd suggest giving it a try

@omercs
Copy link
Contributor

omercs commented Apr 30, 2015

We have cordova related library: https://github.com/AzureAD/azure-activedirectory-library-for-cordova

@omercs omercs closed this as completed Apr 30, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants