I keep getting logged out after implementing Discourse SSO

I keep getting logged out after implementing Discourse SSO 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 and Sync_sso?

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

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.