<?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[405 when running client.exchangeOAuthCodeForAccessTokenUsingPKCE]]></title><description><![CDATA[<p dir="auto">I did the following tutorials using fastify.<br />
<a href="https://fusionauth.io/docs/v1/tech/5-minute-setup-guide/" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/5-minute-setup-guide/</a></p>
<p dir="auto">The login itself is working fine, but when I run client.exchangeOAuthCodeForAccessTokenUsingPKCE I get a 405 error.</p>
<p dir="auto">There is no problem if it is executed by express as in the sample, but it fails when using fastify.</p>
<pre><code>2021-03-18 4:26:15.120 AM WARN  org.primeframework.mvc.action.DefaultActionMappingWorkflow - The action class [io.fusionauth.app.action.oauth2.TokenAction] does not have a valid execute method for the HTTP method [GET]
</code></pre>
<p dir="auto"><em>ported over from <a href="https://github.com/FusionAuth/fusionauth-typescript-client/issues/45" rel="nofollow ugc">https://github.com/FusionAuth/fusionauth-typescript-client/issues/45</a></em></p>
]]></description><link>https://fusionauth.io/community/forum/topic/1081/405-when-running-client-exchangeoauthcodeforaccesstokenusingpkce</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 03:14:50 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/1081.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Jun 2021 13:00:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 405 when running client.exchangeOAuthCodeForAccessTokenUsingPKCE on Wed, 09 Jun 2021 13:01:19 GMT]]></title><description><![CDATA[<p dir="auto">For anybody having this issue, it turned out I had written my URL wrong: <code>http://company.fusionauth.io</code> for example instead of <code>https://company.fusionauth.io</code>. The redirect to https:// caused the error.</p>
]]></description><link>https://fusionauth.io/community/forum/post/3184</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/3184</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Wed, 09 Jun 2021 13:01:19 GMT</pubDate></item></channel></rss>