# I keep getting logged out after implementing Discourse SSO

**URL:** https://meta.discourse.org/t/i-keep-getting-logged-out-after-implementing-discourse-sso/269627
**Category:** SSO
**Created:** [June 26, 2023, 11:52am UTC](https://meta.discourse.org/t/i-keep-getting-logged-out-after-implementing-discourse-sso/269627 "2023-06-26T11:52:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![danielDozie](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@danielDozie](https://meta.discourse.org/u/danielDozie)
#### Post date: [June 26, 2023, 11:52am UTC](https://meta.discourse.org/t/i-keep-getting-logged-out-after-implementing-discourse-sso/269627/1 "2023-06-26T11:52:42Z")

</div>

I keep getting logged out after implementing [Discourse SSO](https://meta.discourse.org/t/13045?silent=true) via sync\_sso approach using the node approach in my React Native App. Any suggestion as to why this is happening?

From the console log, I keep seeing the “session not found” message.

Also, is there a distinct difference between [Discourse SSO](https://meta.discourse.org/t/13045?silent=true) and Sync\_sso?

I would appreciate a good explanation. This can help clarify my issues.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 26, 2023, 2:25pm UTC](https://meta.discourse.org/t/i-keep-getting-logged-out-after-implementing-discourse-sso/269627/2 "2023-06-26T14:25:38Z")

</div>

You can try turning on `verbose discourse connect logging ` to get more details in the logs. Since you developed the code that connects wtih your app, it’s hard for us to tell from your descrtiption what the issue might be.

`sync_sso` is for synconizing records between Disourse and your system. That is different from having your app be a provider of discourse\_connect logins.
