Embedded MS Excel showing Sign In in Iframe but can be accessible on Browser directly
Hello,
I have embedded an Iframe for the Angular application that displays the Excel shared from Embed option. The excel was loading successfully till yesterday but now it is asking to sign in. While click on the sign in option, new windows getting open and gets signed in successfully but is not loading the excel in the Iframe.
While copying the link directly in the browser, the sheet could be visible and accessible but causing the issue for Iframe. I checked the given permissions to the excel while sharing it but no luck loading it in the iframe.
While investigating the issue, I found in the network tab it is giving 403 error for below APIs -
contextinfo and Language
It also shows - Refused to display 'https://domain.sharepoint.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Please let me know if this suffice to explain the problem.
Thank you