Forum Discussion
Rajesh Lohar
Jul 16, 2020Copper Contributor
Authenticate a user in MS teams custom app using asp.net and c#
Hi, I am working on a custom app for MS teams. It is not a bot but it is a tab app. I need to authenticate logged in user to MS teams using c#. Please let me know how to authenticate user and show ...
Gousia_Begum
Jul 16, 2020Former Employee
Rajesh Lohar You can implement SSO for tab. SSO picks up the credentials of the user from teams login and the user does not have to enter the credentials again. Here is the docs for SSO and the sample. But, currently we do not have a complete sample in C#. But since this is just a web page you can still use it in your C# solution.
Rajesh Lohar
Jul 16, 2020Copper Contributor
Thank you Gousia_Begum .
Please let me know if you have complete sample in c#. The information shared by you is really useful.
Thanks
- Gousia_BegumJul 16, 2020Former Employee
Rajesh Lohar Unfortunately, we do not have a complete sample for SSO in C#. But you can use the code from the NodeJS sample in your app's web page.