Forum Discussion
cmbalderrama
May 17, 2021Copper Contributor
Difference between teams app tab and website tab inside team channel
When I try to create an app in app studio and put a webpage URL in a personal tab, It won't load, doesn't show anything (I read that is because most of the pages won't allow to be embed in an iframe)...
cmbalderrama
May 19, 2021Copper Contributor
StevenC365
Hi,
Yes I also have that but still doesn't work. I think valid domains are automatically added by app studio when a url is entered in the personal tab section:
Mamatha-MSFT
Microsoft
May 19, 2021Hi cmbalderrama, You can add websites in teams channel as a tab using "website" app without authentication in teams. But when you add website in a personal tab you need to add authentication for that website. Please go through this documentation to add authentication.
- cmbalderramaMay 19, 2021Copper ContributorHi, umn I don't understand, I need to add authentication even if it is a public website like google? and I'm only using personal tabs not bots.
Is there a way to do this trough the app studio? because why would they allow to create a personal tab there indicating the url if it can't be displayed.
Thanks- Mamatha-MSFTMay 20, 2021
Microsoft
Hi cmbalderrama - Tabs in teams display a web content which are IFramable. But Google will send an "X-Frame-Options: SAMEORIGIN" response header.
To open Google as a tab in teams use content url as shown below.https://www.google.com/webhp?igu=1
Let me know if the issue resolved.
- cmbalderramaMay 20, 2021Copper ContributorHi, Thank you but that didn't worked, I put that url and still won't load.
{
"entityId": "GoogleTab",
"name": "Google",
"contentUrl": "https://www.google.com/webhp?igu=1",
"websiteUrl": "https://www.google.com/webhp?igu=1",
"scopes": [
"personal"
]
},
That is way my original question was what is the diference between the tabs inside teams channel and personal tabs in an app.
If in the personal tab in the app the websites are display in an Iframe and they don't load because they are not Iframable, why they do load inside the teams channel tab, aren't they using and Iframe?
Thanks