Bookings IFrame denied

Copper Contributor

Ive just setup my Bookings page and embeded it on my Wordpress site but the iframe is being denied by login.microsoft.com

 

Refused to display 'https://login.microsoftonline.com/common/oauth2/authorize?client_id=XXXXXXXXXX' in a frame because it set 'X-Frame-Options' to 'deny'.

 

Am i missing something on the bookings setup site?

 

Thanks

 

JK

4 Replies
I don't think you are missing anything. but simply the login page cannot be displayed in a frame.

I don't know much on this topic, but I found this:
"Due to the popularity of clickjacking on the internet, it is common to prevent login pages from being display inside frames. The X-FRAME-Options meta tag in HTML makes it easy for providers to implement this safeguard on a widespread or domain/origin-specific basis."

https://stackoverflow.com/questions/40795633/x-frame-option-deny-error-when-aad-sign-in-in-office-ad...

@Victor Ungureanu 

 

Found the answer:

 

clipboard_image_0.png

 

I had Require an Office 365 account from my org to book enabled, disabled it and it works.

 

Thanks though, I found a link from your link to a github page with some interesting projects.

 

JK

Yes, you're right, that's why the login page was needed in the first place. Disabling the option to "Require an Office 365 account from my org to book" is not going to redirect to the login page anymore.
found this too: -
https://microsoft.github.io/bookings-samples/

Im going to use that to setup the azure app