<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to share SSO session between two applications in the same tenant?]]></title><description><![CDATA[<p dir="auto">I have an application using FusionAuth for SSO and want to set up a second application to share authentication state. Once a user is logged into the first application, they should be automatically authenticated into the second application without needing to log in again.</p>
<p dir="auto">I'd like the first application to handle password reset and user management, while sharing templates between both applications.</p>
<p dir="auto">How should I configure FusionAuth to enable this SSO session sharing between two applications? Do I need to set up two separate applications in the same tenant?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/3254/how-to-share-sso-session-between-two-applications-in-the-same-tenant</link><generator>RSS for Node</generator><lastBuildDate>Fri, 16 Oct 2026 14:18:52 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/3254.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 Oct 2026 18:57:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to share SSO session between two applications in the same tenant? on Fri, 16 Oct 2026 11:32:19 GMT]]></title><description><![CDATA[<p dir="auto">Yes, you need to create two separate applications within the same tenant in FusionAuth. Here's how to configure this:</p>
<h2>Configuration Steps</h2>
<ol>
<li>
<p dir="auto"><strong>Create both applications in the same tenant</strong> - Users are scoped at the tenant level, so applications in the same tenant can share authentication state through FusionAuth's SSO session.</p>
</li>
<li>
<p dir="auto"><strong>Enable self-service registration on the second application</strong> - This ensures a seamless login experience. When a user navigates to the second application while already authenticated to the first, they will be automatically registered and logged in.</p>
</li>
</ol>
<h2>How It Works</h2>
<ul>
<li>User logs into the first application at your registration URL to create their account. Make sure the <code>rememberDevice</code> parameter is <code>true</code> or checked. You can modify your theme to hardcode that value.</li>
<li>While that session is valid, they navigate to the second application's login URL</li>
<li>They are automatically registered and authenticated to the second application without manual intervention</li>
</ul>
<p dir="auto">The key to this working is that FusionAuth creates an SSO session at the tenant level when a user logs in and <code>rememberDevice</code> is checked. When the authenticated user tries to access the second application, FusionAuth recognizes the existing SSO session and automatically creates a registration for that user in the second application (when self-service registration is enabled).</p>
<h2>Password Reset Behavior</h2>
<p dir="auto">Because users are scoped at the tenant level, a password reset applies to all applications under that tenant. Users can utilize the password reset page for the first application and will be able to log in at the second application with the new password.</p>
<h2>Sharing Templates</h2>
<p dir="auto">Both applications can share the same theme and templates. Themes are assigned at the tenant level (though you can also assign application-specific themes if needed starting with FusionAuth 1.27+). This means you can configure one set of templates - including password reset, login, and user management pages - that will be used by both applications.</p>
<h2>Pre-creating User Accounts</h2>
<p dir="auto">If you create user accounts ahead of time, you can automatically include the registration for the second application when creating the users. This would mean adding that application to their registrations when you create the account initially using the <a href="https://fusionauth.io/docs/apis/registrations/create-a-user-and-registration-combined" rel="nofollow ugc">Create a User and Registration API</a>.</p>
<h2>Related Documentation</h2>
<ul>
<li><a href="https://fusionauth.io/docs/lifecycle/authenticate-users/single-sign-on" rel="nofollow ugc">Implementing Single Sign-On</a> - Complete guide to configuring SSO between applications</li>
<li><a href="https://fusionauth.io/docs/lifecycle/register-users/basic-registration-forms#self-service-registration-and-registrations" rel="nofollow ugc">Self-Service Registration</a> - How automatic registration works when SSO is enabled</li>
<li><a href="https://fusionauth.io/docs/apis/registrations/create-a-user-registration-for-an-existing-user" rel="nofollow ugc">Create a User Registration API</a> - Programmatically register existing users to additional applications</li>
<li><a href="https://fusionauth.io/blog/announcing-fusionauth-1-27#application-themes" rel="nofollow ugc">Application Themes</a> - Configure application-specific themes if needed</li>
<li><a href="https://fusionauth.io/docs/customize/look-and-feel/" rel="nofollow ugc">Themes Documentation</a> - Customize and share login pages and templates across applications</li>
</ul>
]]></description><link>https://fusionauth.io/community/forum/post/8845</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/8845</guid><dc:creator><![CDATA[FASupportBot]]></dc:creator><pubDate>Fri, 16 Oct 2026 11:32:19 GMT</pubDate></item></channel></rss>