# Login via discourse

**URL:** https://meta.discourse.org/t/login-via-discourse/208387
**Category:** SSO
**Created:** [November 5, 2021, 6:32pm UTC](https://meta.discourse.org/t/login-via-discourse/208387 "2021-11-05T18:32:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![daniyal](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@daniyal](https://meta.discourse.org/u/daniyal)
#### Post date: [November 5, 2021, 6:32pm UTC](https://meta.discourse.org/t/login-via-discourse/208387/1 "2021-11-05T18:32:03Z")

</div>

Hi

I want to add functionality on my site to login via discourse. SSO seems to do that but it means that I need to handle user registration somewhere else from discourse forum. What will be the proper method to allow users login on my site through discourse, keeping the existing user auth as it is on discourse forum?

Thanks

---

<div class="post-metadata">

### Author: ![cocococosti](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cocococosti/32/231474_2.png) [@cocococosti](https://meta.discourse.org/u/cocococosti)
#### Post date: [November 5, 2021, 7:08pm UTC](https://meta.discourse.org/t/login-via-discourse/208387/2 "2021-11-05T19:08:48Z")

</div>

Sounds like you want Discourse to be the identity provider, please check [Use Discourse as an identity provider (SSO, DiscourseConnect)](https://meta.discourse.org/t/using-discourse-as-an-identity-provider-sso-discourseconnect/32974)
