<?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[SSO mechanism]]></title><description><![CDATA[<p dir="auto">Hi, I am a little lost about the SSO mechanism, I think i need some better understanding ...</p>
<p dir="auto">I configurated an API with an OIDC library, to use FusionAuth for authentication. The tokens returned by Fusionauth are stored in "api-own-cookie".</p>
<p dir="auto">When a webclient calls the API, it has to give the "api-own-cookie".</p>
<ul>
<li>
<p dir="auto"><strong>question 1</strong> : if understand well, there we're not using the FusionAuth SSO mechanism because we use our own cookies ? We should have the API to require the FusionAuth cookie to fully rely on SSO mechanism ?</p>
</li>
<li>
<p dir="auto"><strong>question 2</strong>:  in SSO mechanism, a call of <em>/oauth2/logout?client_id={clientId}</em>  or <em>/oauth2/logout?token_id_hint={tokenId}</em> tells the browser to remove the SSO cookie ?</p>
</li>
</ul>
]]></description><link>https://fusionauth.io/community/forum/topic/1534/sso-mechanism</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Nov 2026 13:04:53 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/1534.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Feb 2022 15:12:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SSO mechanism on Wed, 30 Mar 2022 22:15:00 GMT]]></title><description><![CDATA[<p dir="auto">It is working now, had some issue on my side <img src="https://fusionauth.io/community/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=rcgg4tg866g" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://fusionauth.io/community/forum/post/4553</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/4553</guid><dc:creator><![CDATA[quent]]></dc:creator><pubDate>Wed, 30 Mar 2022 22:15:00 GMT</pubDate></item><item><title><![CDATA[Reply to SSO mechanism on Tue, 29 Mar 2022 06:45:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/20">@dan</a></p>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/20">@dan</a><br />
Thank you <img src="https://fusionauth.io/community/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=rcgg4tg866g" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Seems like my sso isn't working correctly...<br />
I have 2 .net API<br />
<a href="http://localhost:11000/apiA" rel="nofollow ugc">http://localhost:11000/apiA</a><br />
<a href="http://localhost:12000/apiB" rel="nofollow ugc">http://localhost:12000/apiB</a><br />
I can successfully log with fusionauth, I get tokens and own cookie. But the SSO seems to be achieved by the common .net cookie, if I delete it I need to relog again, even if fusionauth SSO cookie is still there...</p>
]]></description><link>https://fusionauth.io/community/forum/post/4504</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/4504</guid><dc:creator><![CDATA[quent]]></dc:creator><pubDate>Tue, 29 Mar 2022 06:45:20 GMT</pubDate></item><item><title><![CDATA[Reply to SSO mechanism on Fri, 11 Mar 2022 03:04:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/1212">@quent</a> <a href="https://fusionauth.io/docs/v1/tech/core-concepts/users#user-sessions" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/core-concepts/users#user-sessions</a> is probably worth reading.</p>
<blockquote>
<p dir="auto">if understand well, there we're not using the FusionAuth SSO mechanism because we use our own cookies ? We should have the API to require the FusionAuth cookie to fully rely on SSO mechanism ?</p>
</blockquote>
<p dir="auto">You can use the SSO mechanism and your own cookies. Your cookies (the access token/refresh token) control access to your API. SSO controls access across APIs.</p>
<p dir="auto">For instance, let's say you have API 1 and API 2.</p>
<p dir="auto">The user logs in, gets a token good for API 1. They interact with API 1 and present the access token.</p>
<p dir="auto">What happens when they go to API 2? Well, no token is available for that API (because the token that was granted was for API 1). So API 2 bounces the user to FusionAuth. However, FusionAuth recognizes the user (because they logged into API 1) and authenticates them based on the SSO session without them doing anything. Then you set your cookie for API 2, then they are sent to API 2 transparently, which reads the cookie and gives the data/access.</p>
<blockquote>
<p dir="auto">question 2: in SSO mechanism, a call of /oauth2/logout?client_id={clientId} or /oauth2/logout?token_id_hint={tokenId} tells the browser to remove the SSO cookie ?</p>
</blockquote>
<p dir="auto">Correct. Depending on your application settings, you can log a user out of just the application or of all applications. But all that is doing is a 'front channel' log out, which ends the SSO session and also calls logout URLs provided by you on the application configuration. More here: <a href="https://fusionauth.io/docs/v1/tech/oauth/endpoints#logout" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/oauth/endpoints#logout</a></p>
<p dir="auto">This guide may be helpful to you too: <a href="https://fusionauth.io/docs/v1/tech/guides/single-sign-on" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/guides/single-sign-on</a></p>
]]></description><link>https://fusionauth.io/community/forum/post/4453</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/4453</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Fri, 11 Mar 2022 03:04:23 GMT</pubDate></item></channel></rss>