# SSO Login with Discourse

**URL:** <https://meta.discourse.org/t/sso-login-with-discourse/234702>\
**Category:** SSO\
**Created:** [August 1, 2022, 4:51pm UTC](https://meta.discourse.org/t/sso-login-with-discourse/234702 "2022-08-01T16:51:51Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [October 3, 2024, 6:18pm UTC](https://meta.discourse.org/t/sso-login-with-discourse/234702/8 "2024-10-03T18:18:11Z")

</div>

I am not sure if I am understanding where the problem is occurring.

> [@suraj96100singh](#):
>
> I have a project built using the Laravel framework,

Are you using this library for [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true): [GitHub - spinen/laravel-discourse-sso: Integrate Discourse SSO into Laravel · GitHub](https://github.com/spinen/laravel-discourse-sso)?

Looking at that code ([laravel-discourse-sso/src/Controllers/SsoController.php at develop · spinen/laravel-discourse-sso · GitHub](https://github.com/spinen/laravel-discourse-sso/blob/develop/src/Controllers/SsoController.php#L91-L115)), I am not how it is handling the case of a user who is already logged into the Laravel app.

---

_[View the full topic](https://meta.discourse.org/t/sso-login-with-discourse/234702)._
