<?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[OpenID Connect doesn&#x27;t fallback to non-PKCE if provider doesn&#x27;t support it]]></title><description><![CDATA[<p dir="auto">I've got an OpenID Connect identity provider which doesn't support PKCE.</p>
<p dir="auto">I've read in the documentation that FusionAuth supports this and automatically falls back:</p>
<blockquote>
<p dir="auto">Proof Key for Code Exchange, more commonly referred to as PKCE (pronounced pixy) is an extension to the Authorization Code grant. This extension is intended to help secure the code exchange workflow utilized by this OpenID Connect configuration.<br />
This extension is used by default on all OpenID Connect IdP configurations, and it cannot be disabled. The use of this extension is backwards compatible with identity providers that either do not require or support PKCE.<br />
FusionAuth will pass along the required PKCE request parameters to the OpenID Connect identity provider and if the provider supports PKCE, the extension will be utilized, and if it is not supported it will be ignored.</p>
</blockquote>
<p dir="auto">From: <a href="https://fusionauth.io/docs/lifecycle/authenticate-users/identity-providers/overview-oidc" rel="nofollow ugc">https://fusionauth.io/docs/lifecycle/authenticate-users/identity-providers/overview-oidc</a></p>
<p dir="auto">However when I use this my login always fails with "<em>The code_verifier could not be determined</em>", which suggests to me that it attempts to use PKCE.</p>
<p dir="auto">How can I (just for testing) force disabling PKCE?</p>
<p dir="auto">How does FusionAuth detect if an identity provider supports PKCE?</p>
<p dir="auto">How can I further debug this?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/2633/openid-connect-doesn-t-fallback-to-non-pkce-if-provider-doesn-t-support-it</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 03:12:50 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/2633.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Mar 2024 17:04:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OpenID Connect doesn&#x27;t fallback to non-PKCE if provider doesn&#x27;t support it on Fri, 22 Mar 2024 17:08:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2457">@yves</a> So I found this that may be of interest to you.</p>
<p dir="auto"><em>For the Authorization Code Grant, if the clientAuthenticationPolicy value is Required, the client secret is required. If the value is NotRequired, the client secret is not required. If the value is NotRequiredWhenUsingPKCE and PKCE is used, the client secret is not required. <strong>If PKCE is not used, the client secret is required</strong>.</em></p>
<p dir="auto">What is your setting there?</p>
]]></description><link>https://fusionauth.io/community/forum/post/7147</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7147</guid><dc:creator><![CDATA[mark.robustelli]]></dc:creator><pubDate>Fri, 22 Mar 2024 17:08:39 GMT</pubDate></item><item><title><![CDATA[Reply to OpenID Connect doesn&#x27;t fallback to non-PKCE if provider doesn&#x27;t support it on Sun, 17 Mar 2024 18:17:28 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> Sure!</p>
<p dir="auto">I do the following (I use <a href="https://httpie.io/" rel="nofollow ugc">HTTPie</a>)</p>
<ul>
<li>First I hit the <code>authorize</code> endpoint: <code>http "https://myurl/oauth2/authorize?client_id=&lt;myappid&gt;&amp;idp_hint=&lt;myidpid&gt;&amp;nonce=&lt;random generated nonce&gt;&amp;redirect_uri=/admin/login&amp;response_type=code"</code></li>
<li>That gives me a <code>Location</code> which I follow: <code>http "https://myurl/oauth2/redirect?client_id=&lt;myappid&gt;&amp;identityProviderId=&lt;myidpid&gt;&amp;state=&lt;state&gt;&amp;nonce=&lt;random generated nonce&gt;"</code></li>
<li>Now again in the <code>Location</code> I get redirected to my IdP, I open that link in the browser and go through the flow of my IdP, once successfully authenticated it redirects me back to <code>https://myurl/admin/login</code> (the initial redirect URI) and I get the error I pasted earlier</li>
</ul>
<p dir="auto">Does this look correct to you?</p>
]]></description><link>https://fusionauth.io/community/forum/post/7134</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7134</guid><dc:creator><![CDATA[yves]]></dc:creator><pubDate>Sun, 17 Mar 2024 18:17:28 GMT</pubDate></item><item><title><![CDATA[Reply to OpenID Connect doesn&#x27;t fallback to non-PKCE if provider doesn&#x27;t support it on Fri, 15 Mar 2024 20:19:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2457">@yves</a> Would it be possible for you to share a simplified code sample?</p>
]]></description><link>https://fusionauth.io/community/forum/post/7133</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7133</guid><dc:creator><![CDATA[mark.robustelli]]></dc:creator><pubDate>Fri, 15 Mar 2024 20:19:35 GMT</pubDate></item><item><title><![CDATA[Reply to OpenID Connect doesn&#x27;t fallback to non-PKCE if provider doesn&#x27;t support it on Fri, 15 Mar 2024 19:09:58 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for the pointer <a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2507">@mark-robustelli</a> .</p>
<p dir="auto">However, also with this setting, I still get the following error message:</p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1710529681505-f36e6c37-f687-45c8-9ffb-ad45b4168d05-image.png" alt="f36e6c37-f687-45c8-9ffb-ad45b4168d05-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">What am I doing wrong? Is this not referring to PKCE? Is this referring to something else? Where could I get further debug info? (Unfortunately the event log is empty.)</p>
]]></description><link>https://fusionauth.io/community/forum/post/7131</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7131</guid><dc:creator><![CDATA[yves]]></dc:creator><pubDate>Fri, 15 Mar 2024 19:09:58 GMT</pubDate></item><item><title><![CDATA[Reply to OpenID Connect doesn&#x27;t fallback to non-PKCE if provider doesn&#x27;t support it on Tue, 12 Mar 2024 17:15:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2457">@yves</a> said in <a href="/community/forum/post/7101">OpenID Connect doesn't fallback to non-PKCE if provider doesn't support it</a>:</p>
<blockquote>
<p dir="auto">How can I (just for testing) force disabling PKCE?</p>
</blockquote>
<p dir="auto">Have you tried to update the PKCE setting in your applicaiton?</p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1710263698284-screenshot-2024-03-12-at-11.13.23-am-resized.png" alt="Screenshot 2024-03-12 at 11.13.23 AM.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://fusionauth.io/community/forum/post/7116</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7116</guid><dc:creator><![CDATA[mark.robustelli]]></dc:creator><pubDate>Tue, 12 Mar 2024 17:15:56 GMT</pubDate></item><item><title><![CDATA[Reply to OpenID Connect doesn&#x27;t fallback to non-PKCE if provider doesn&#x27;t support it on Tue, 12 Mar 2024 12:42:29 GMT]]></title><description><![CDATA[<p dir="auto">Has anyone had a similar issue? Would really appreciate a bit of insights here. Ideally I'd like to force FusionAuth to stop using PKCE with the identity provider I configured.</p>
]]></description><link>https://fusionauth.io/community/forum/post/7112</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7112</guid><dc:creator><![CDATA[yves]]></dc:creator><pubDate>Tue, 12 Mar 2024 12:42:29 GMT</pubDate></item></channel></rss>