Forum Discussion
marcuswelby
Sep 21, 2023Copper Contributor
Teams Personal Tab app sending cookies
I have a personal tab app that's a legacy app we want to use in Teams while we create a more "Teams Friendly" version. It's a Java application that uses HTTP Session to store user data. The server se...
- Sep 28, 2023Using samesite=none;secure on the cookies seems to work in Teams/Edge but not in Firefox. I think related to the fact the tab app is in an iframe and any cookies are considered 3rd party since different domain of iframe than parent.
marcuswelby
Sep 22, 2023Copper Contributor
If you read what I posted above I'm trying to leverage some legacy app in a teams tab and can't convert it to SPA (which is what you are suggesting). The application sends back complete HTML pages and uses a cookie to track user information. This is about using a cookie - it has nothing to do with authentication. Can you point to documentation that states that Microsoft Teams does not support sending cookies back to the servers for a Personal Tab App? The ability for a server to return a cookie on the response and have it sent on subsequent requests is basic functionality.
Prasad_Das-MSFT
Microsoft
Sep 25, 2023marcuswelby - Got it. We will check this with engineering team internally and will update you accordingly. Thanks!
- marcuswelbySep 28, 2023Copper ContributorUsing samesite=none;secure on the cookies seems to work in Teams/Edge but not in Firefox. I think related to the fact the tab app is in an iframe and any cookies are considered 3rd party since different domain of iframe than parent.