<?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 questions]]></title><description><![CDATA[<p dir="auto">I've got a question about logout.</p>
<p dir="auto">When logging in using the <code>/oauth2/token</code> route with the auth code grant, it seems the <code>/api/logout</code> route does not revoke the refresh token.</p>
<p dir="auto">Is intended? Is the best way to log out in this case is with the <code>/ouath2/logout</code> route? How does that know which user to log out? there's no user id or refresh token property in the body.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/270/logout-questions</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 00:09:52 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/270.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 Aug 2020 17:59:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to logout questions on Tue, 12 Mar 2024 07:54:06 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> said in <a href="/community/forum/post/748">logout questions</a>:</p>
<blockquote>
<p dir="auto">'ve got a question about logout.<br />
When logging in using the /oauth2/token route with the auth <a href="https://wordle2.io" rel="nofollow ugc">wordle</a> code grant, it seems the /api/logout route does not revoke the refresh token.<br />
Is intended? Is the best way to log out in this case is with the /ouath2/logout route? How does that know which user to log out? there's no user id or refresh token property in the body.</p>
</blockquote>
<p dir="auto">Regarding user identification during logout, the OAuth 2.0 specification doesn't define a standard logout endpoint. Logout processes are often application-specific, and the mechanism to identify the user being logged out might depend on the authentication framework or technology being used.</p>
]]></description><link>https://fusionauth.io/community/forum/post/7115</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7115</guid><dc:creator><![CDATA[bekeanloinse]]></dc:creator><pubDate>Tue, 12 Mar 2024 07:54:06 GMT</pubDate></item><item><title><![CDATA[Reply to logout questions on Mon, 24 Aug 2020 15:09:02 GMT]]></title><description><![CDATA[<p dir="auto">Hello Dan!</p>
<p dir="auto">Aah! that should work, with still having the <code>/signin-back</code> button to take me to the app.</p>
<p dir="auto">Thanx</p>
]]></description><link>https://fusionauth.io/community/forum/post/926</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/926</guid><dc:creator><![CDATA[sswami]]></dc:creator><pubDate>Mon, 24 Aug 2020 15:09:02 GMT</pubDate></item><item><title><![CDATA[Reply to logout questions on Mon, 24 Aug 2020 13:44:38 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">when we call /api/logout &amp; remove any locally saved state info</p>
</blockquote>
<p dir="auto">Can you try to send the user to <code>/oauth2/logout</code> directly? They'll be returned to the logout URL configured in the application. Will that not work?</p>
]]></description><link>https://fusionauth.io/community/forum/post/923</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/923</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Mon, 24 Aug 2020 13:44:38 GMT</pubDate></item><item><title><![CDATA[Reply to logout questions on Sun, 23 Aug 2020 19:39:00 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/20">@dan</a>: "...call each of your configured logout URLs per application."</p>
</blockquote>
<ul>
<li>Do we have many logout URLs?</li>
</ul>
<p dir="auto">As you suggested, <code>/api/logout</code> removes cookies, what should I do to remove the SSO Session from the Native App itself?</p>
<p dir="auto">Basically, from the Android App, when we call <code>/api/logout</code> &amp; remove any locally saved state info, and then redirect to the Login page, as the FusionAuth session is still active, it just redirects back to the Consent screen and therefore back to the Application. Literally making the user not able to switch the accounts, until the fusionauth session is terminated.</p>
<p dir="auto">If <code>/api/logout</code> doesn't end the fusionauth session, I am left with only 1 option (with as much I've understood)</p>
<ul>
<li>Logout Action in the app.</li>
<li>Redirects to FusionAuth SSO Page</li>
<li>Redirects back to the Custom Consent Screen (as FA session is active)</li>
<li>I add a <strong>"LOGOUT COMPLETELY"</strong> button redirecting to <code>/oauth2/logout</code> page with <code>post_logout_uri</code> to <code>/signin-back</code> page (containing a single button <strong>"Sign In Again"</strong>)</li>
<li>FA Logout Progress</li>
<li>Redirects to <code>/signin-back</code></li>
<li><strong>Signin Back</strong> Button action to APP</li>
<li>Finally APP opens, checks AuthState to be <code>false</code></li>
<li>Authroize() redirects to <code>/oauth2/login</code></li>
</ul>
<p dir="auto">But I sincerely feel, this is too much, am I mistaken somewhere? There must be some best practices, which I want to know.</p>
<p dir="auto">Thank you</p>
]]></description><link>https://fusionauth.io/community/forum/post/917</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/917</guid><dc:creator><![CDATA[sswami]]></dc:creator><pubDate>Sun, 23 Aug 2020 19:39:00 GMT</pubDate></item><item><title><![CDATA[Reply to logout questions on Mon, 03 Aug 2020 18:01:15 GMT]]></title><description><![CDATA[<p dir="auto">Yes, this is intended. This logs the user out by killing their HTTP session. It is all handled with cookies.</p>
<p dir="auto">Revoking Refresh Tokens is considered a back channel logout which we don’t support in the OAuth portion of things. But you can use <code>/api/logout</code> if you want - it is just designed to remove cookies.</p>
<p dir="auto"><a href="https://fusionauth.io/docs/v1/tech/apis/login#logout-a-user" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/apis/login#logout-a-user</a></p>
<p dir="auto">The purpose of the <code>/oauth2/logout</code> is to remove the SSO session, and call each of your configured logout URLs per application.</p>
<p dir="auto">These logout URLs then would do whatever “logout” means for you. It may be removing your own HTTP session, or removing a refresh token for a particular application(s). Then the final step is to redirect to the final URL.</p>
]]></description><link>https://fusionauth.io/community/forum/post/749</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/749</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Mon, 03 Aug 2020 18:01:15 GMT</pubDate></item></channel></rss>