<?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[Using PKCE with Client Authentication Disabled]]></title><description><![CDATA[<p dir="auto">When deploying an SPA, we want to use PKCE with the authorization code grant. However, we want our users to be able to utilise a refresh token for the duration of their sessions. Currently the only way that I can get this to work is by turning "Client Authentication" to "Not required" - instead of our current "Not required when using PKCE" setup.</p>
<p dir="auto">What is the recommended practice for setting up an SPA with the authorization_code and refresh_token grants? I believe that what we are doing is to spec (<a href="https://openid.net/specs/openid-connect-core-1_0.html#RefreshTokens" rel="nofollow ugc">https://openid.net/specs/openid-connect-core-1_0.html#RefreshTokens</a>). Would the recommendation here be to disable Client Authentication entirely? Or does that have its own risks?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/2842/using-pkce-with-client-authentication-disabled</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 12:50:10 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/2842.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Jan 2025 04:27:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using PKCE with Client Authentication Disabled on Wed, 29 Jan 2025 00:17:33 GMT]]></title><description><![CDATA[<p dir="auto">I can't speak to FusionAuth in particular, but when you have a public client you ideally don't want to use the client secret for anything, since SPAs / Mobile Apps / etc cannot keep a secret.</p>
<p dir="auto"><strong>Edit</strong>: Found this Github issue marked as wontfix: <a href="https://github.com/FusionAuth/fusionauth-issues/issues/2173" rel="nofollow ugc">https://github.com/FusionAuth/fusionauth-issues/issues/2173</a></p>
<p dir="auto">If you do need a confidential client for something you should have a separate client for it.</p>
<p dir="auto">So, my take would be that since you shouldn't be using that secret for anything you shouldn't need it to be required for any flow.</p>
<p dir="auto">You also didn't ask this but you do want to have PKCE enabled for your SPA's client.</p>
]]></description><link>https://fusionauth.io/community/forum/post/7779</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7779</guid><dc:creator><![CDATA[cthos]]></dc:creator><pubDate>Wed, 29 Jan 2025 00:17:33 GMT</pubDate></item><item><title><![CDATA[Reply to Using PKCE with Client Authentication Disabled on Fri, 17 Jan 2025 16:04:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3374">@calumhall96</a> I didn't want you to think no one was looking at your post.  I am not familiar with this set up so it is going to take me a while to check it out.  In the mean time, if anyone has any ides, please speak up.</p>
]]></description><link>https://fusionauth.io/community/forum/post/7754</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7754</guid><dc:creator><![CDATA[mark.robustelli]]></dc:creator><pubDate>Fri, 17 Jan 2025 16:04:53 GMT</pubDate></item></channel></rss>