Forum Discussion
Ryan Stone
Aug 12, 2020Iron Contributor
How to get a custom .Net app with forms auth to work
We have an existing Azure dotnet app that simply uses traditional asp.net forms authentication. The app service itself is set to anonymous access. We would like to add it into Teams as an alternativ...
- Aug 13, 2020
Ryan Stone I think that this documentation will help you https://docs.microsoft.com/en-us/microsoftteams/platform/resources/samesite-cookie-update.
I think that the problem is related the chromium engine used by Teams and the fact that you are app is embedded in an iframe
Trinetra-MSFT
Aug 13, 2020Former Employee
Ryan Stone , Have you implemented Teams authentication in your .net forms app?
You need to use the tabs SDK method microsoftTeams.authentication.authenticate()
. Please look at here for more detail https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/authentication/auth-flow-tab. There's a C# example here: Microsoft Teams tab authentication sample (C#).