How is your experience with the OutSystems Community?
17
Views
2
Comments
User session cookie sharing between sites
Question
Application Type
Reactive
Service Studio Version
11.55.74 (Build 64929)

Hi,

we have 3 sites, all reactive web:-

SiteA.testsite.co.uk

SiteB.testsite.co.uk

SiteC.testsite.co.uk

the web site SiteC is a standalone project whereas SiteA and SiteB are under the same project. However when we log into SiteA and then navigate to SiteB the user is logged out. We would like the cookie for the user session to be passed across between SiteA and SiteB only, but not SiteC.

Is this possible and how?

2026-06-05 12-38-17
Eduardo Jauch

Hello Andrew, 

Single-Sign on needs some configuration to work. You can check this document
SSO in OutSystems is something defined for the environment, not for a group of applications.

But you can isolate applications. There are different ways.

One way is to use a different User Provider for Application C. You can read this article to learn about Providers. But this means that application C will have their own users. There is also OutSystems documentation about it.

This article also talks about your scenario.

Hope this helps.

2025-09-25 14-38-22
Lokesh Kumar Yadav

Yes Totally Agree with Eduardo ,

it is possible. Since SiteA.testsite.co.uk and SiteB.testsite.co.uk share the same parent domain, you can configure a shared auth cookie using the domain:

.testsite.co.uk


Both apps must use the same authentication/session configuration.

Keep SiteC separate by using a different cookie or auth setup.


In OutSystems, the recommended approach is usually SSO (OIDC/SAML) rather than directly sharing session cookies.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.