# SSO in C# .NET App

**URL:** https://meta.discourse.org/t/sso-in-c-net-app/221093
**Category:** SSO
**Created:** [March 16, 2022, 12:19pm UTC](https://meta.discourse.org/t/sso-in-c-net-app/221093 "2022-03-16T12:19:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Justinvolved](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justinvolved/32/246076_2.png) [@Justinvolved](https://meta.discourse.org/u/Justinvolved)
#### Post date: [March 16, 2022, 12:19pm UTC](https://meta.discourse.org/t/sso-in-c-net-app/221093/1 "2022-03-16T12:19:47Z")

</div>

Hello,

Does anyone know of an exmample that implements SSO [Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/discourseconnect-official-single-sign-on-for-discourse-sso/13045) in a C# .NET application?

I’m looking to use my .NET web application as the Authenticaion provider, maybe somebody has done this before and can save me a lot of time and effort?

Thanks,

Justin

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [March 16, 2022, 1:13pm UTC](https://meta.discourse.org/t/sso-in-c-net-app/221093/2 "2022-03-16T13:13:15Z")

</div>

This does it the other way around (use Discourse as the SSO provider) but you might be able to borrow some of the code. [DiscourseSso/src/DiscourseSso/Controllers at master · Biarity/DiscourseSso · GitHub](https://github.com/Biarity/DiscourseSso/tree/master/src/DiscourseSso/Controllers)
