<?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[Logout with multiple subdomains]]></title><description><![CDATA[<p dir="auto">Hello guys!</p>
<p dir="auto">I have a very specific problem that I can't seem to find a solution for. I've recently hosted my own community edition version of FusionAuth to test the integrations with my application, before migrating fully to it. We use Okta currently, but it does not support our needs anymore.</p>
<p dir="auto">The way my application works is that, the single application creates multiple subdomains for my clients. So, for instance, a client might have access to the domain <code>https://backerstats.localhost/</code> (using localhost for example purposes) as an admin and a player, and to the domain <code>https://pokerstats.localhost/</code> as an admin. This is all handled in the same application, where we would put all available domain login URLs for the users with no problems:<br />
<img src="/community/forum/assets/uploads/files/1749742705172-fe574ff0-f84f-40ef-9a3e-95108fb1f339-image-resized.png" alt="fe574ff0-f84f-40ef-9a3e-95108fb1f339-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The login was configured with SSO and works fine. But now, when getting the the Logout, even though we have the Logout Behavior set for "All Applications", when I logout from a subdomain (like <code>https://backerstats.localhost/</code>), it works out normally, but I stay logged in on any other domains I might have accessed. For instance, if I had accessed <code>https://pokerstats.localhost/</code> and then came back to  <code>https://backerstats.localhost/</code> to logout, and then navigated back to <code>https://pokerstats.localhost/</code> I'd still be logged in on it.<br />
<img src="/community/forum/assets/uploads/files/1749742846711-99b46341-d1da-44f2-bc98-10bcdd5b3f4a-image.png" alt="99b46341-d1da-44f2-bc98-10bcdd5b3f4a-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">My question here would be: Do I need a separate application for every single subdomain, or is there a way to make it so the logout works for every subdomain of the application?</p>
<p dir="auto">Thanks in advance.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/2929/logout-with-multiple-subdomains</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 08:44:47 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/2929.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Jun 2025 15:42:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Logout with multiple subdomains on Wed, 02 Jul 2025 04:17:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2507">@mark-robustelli</a> said in <a href="/community/forum/post/8049">Logout with multiple subdomains</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3540">@ext_figuvini</a> after reading your post again, I think I read it differently.  The way the SSO logout works is that on logout, FusionAuth calls all the logout urls for each applications. It would seem that you are correct in that creating an application for each subdomain makes sense and would work. (You can create applications through the API so you should be able to automate this.) Can you try this for a few domains and confirm it works?</p>
</blockquote>
<p dir="auto">Your point is correct. Creating a separate application for each subdomain is a reasonable and correct solution.<br />
When a user logs out of the SSO system, FusionAuth will call the logout URLs defined in each configured application in turn. This allows each application to clean up its own session. Pretty good solution</p>
]]></description><link>https://fusionauth.io/community/forum/post/8227</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/8227</guid><dc:creator><![CDATA[blanfordkerry]]></dc:creator><pubDate>Wed, 02 Jul 2025 04:17:27 GMT</pubDate></item><item><title><![CDATA[Reply to Logout with multiple subdomains on Wed, 25 Jun 2025 06:30:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2507">@mark-robustelli</a> said in <a href="/community/forum/post/8048">Logout with multiple subdomains</a> <a href="https://fngames.io/" rel="nofollow ugc">fnaf</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3540">@ext_figuvini</a> this is an interesting use case. I would think the way you have it configured would work. I would have to recreate you situation to test. Unfortunately it may be a while before I can get that done. I should be able to take a look next week.  If anyone has experience with this, please feel free to chime in.</p>
</blockquote>
<p dir="auto">Make sure to set the Redirect URIs in the application settings to include all relevant subdomains (e.g., <a href="https://backerstats.localhost/" rel="nofollow ugc">https://backerstats.localhost/</a><em>, <a href="https://pokerstats.localhost/" rel="nofollow ugc">https://pokerstats.localhost/</a></em>).</p>
]]></description><link>https://fusionauth.io/community/forum/post/8057</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/8057</guid><dc:creator><![CDATA[cabaral109]]></dc:creator><pubDate>Wed, 25 Jun 2025 06:30:27 GMT</pubDate></item><item><title><![CDATA[Reply to Logout with multiple subdomains on Fri, 13 Jun 2025 19:31:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2507">@mark-robustelli</a> Hey, Mark! Thank you so much for taking your time to answer me.</p>
<p dir="auto">So, I was going to try to create new application, but talking to the other devs I have on this project, we figured out we currently have about 700 different domains (each client gets a domain for his access), and this is on a legacy PHP/Zend application, so you can imagine how painful it is to change all the implementations.</p>
<p dir="auto">Currently, I think it'd be unviable to create one application for each different domain, because it'd be a nightmare to manage 700 different applications in the dashboard, so I'd be happier with being able to sync logouts in a single application. I've considering doing some manual hacking (like creating a global cookie that gets info from each domain cookie and then killing all of them), but I'd like to know if anyone else here had success with this kind of scenario without having to pull out the hacky stuff.</p>
<p dir="auto">Thanks again!</p>
]]></description><link>https://fusionauth.io/community/forum/post/8050</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/8050</guid><dc:creator><![CDATA[ext_figuvini]]></dc:creator><pubDate>Fri, 13 Jun 2025 19:31:08 GMT</pubDate></item><item><title><![CDATA[Reply to Logout with multiple subdomains on Fri, 13 Jun 2025 06:33:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3540">@ext_figuvini</a> after reading your post again, I think I read it differently.  The way the SSO logout works is that on logout, FusionAuth calls all the logout urls for each applications. It would seem that you are correct in that creating an application for each subdomain makes sense and would work. (You can create applications through the API so you should be able to automate this.) Can you try this for a few domains and confirm it works?</p>
]]></description><link>https://fusionauth.io/community/forum/post/8049</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/8049</guid><dc:creator><![CDATA[mark.robustelli]]></dc:creator><pubDate>Fri, 13 Jun 2025 06:33:32 GMT</pubDate></item><item><title><![CDATA[Reply to Logout with multiple subdomains on Fri, 13 Jun 2025 06:02:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3540">@ext_figuvini</a> this is an interesting use case. I would think the way you have it configured would work. I would have to recreate you situation to test. Unfortunately it may be a while before I can get that done. I should be able to take a look next week.  If anyone has experience with this, please feel free to chime in.</p>
]]></description><link>https://fusionauth.io/community/forum/post/8048</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/8048</guid><dc:creator><![CDATA[mark.robustelli]]></dc:creator><pubDate>Fri, 13 Jun 2025 06:02:05 GMT</pubDate></item></channel></rss>