Apr 12 2022 05:47 AM
Hi,
I am trying to embed url in Iframe but it giving me frame violation error.
Please not url already been modified for Content-Security-Policy: frame-ancestors teams.microsoft.com *.teams.microsoft.com *.skype.com as per Tab Requisite https://docs.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/tab-requirements
am i missing anything.
Teams Tab App running in teams environment host as ngrok
Apr 12 2022 06:19 AM - edited Apr 12 2022 06:21 AM
@suvi-15 -
The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a <frame>
, <iframe>
or <object>
. Sites can use this to avoid clickjacking attacks, by ensuring that their content is not embedded into other sites.
For More Information: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
Thanks,
Prasad Das
-------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.
Apr 13 2022 12:40 AM
Apr 13 2022 02:03 AM
Apr 14 2022 03:15 AM
SolutionHi,
I found the solution for this issue... normally when we create Custom Team Tab Application we host the application somewhere lets say in azure then we need to specify that domain in frame-ancestor.
Apr 14 2022 03:15 AM
SolutionHi,
I found the solution for this issue... normally when we create Custom Team Tab Application we host the application somewhere lets say in azure then we need to specify that domain in frame-ancestor.