Forum Discussion
john kenny
Aug 19, 2019Copper Contributor
Bookings IFrame denied
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/autho...
Victor_Ungureanu
Microsoft
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-add-in
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-add-in
john kenny
Aug 19, 2019Copper Contributor
Found the answer:
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
- Victor_UngureanuAug 19, 2019MicrosoftYes, 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.
- john kennyAug 19, 2019Copper Contributorfound this too: -
https://microsoft.github.io/bookings-samples/
Im going to use that to setup the azure app