<?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[Manually verifying a JWT]]></title><description><![CDATA[<p dir="auto">I have an access token that is signed by a HS256 signing key. When I go to my rails backend and use the JWT library to decode it and verify it is a valid token signed by FusionAuth it is return Signature Verification Error. Am I doing something wrong?</p>
<p dir="auto">This is my rails code to decode and verify that the JWT is valid:</p>
<pre><code>JWT.decode(access_token, signing_key, true)
</code></pre>
<p dir="auto">This is my default signing key (Yes I know it is insecure to share this, but it's a dev server not production and I will change it after this):</p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1594496721139-b17514fc-6af5-46d5-ac50-c9c31e24c3d5-image.png" alt="b17514fc-6af5-46d5-ac50-c9c31e24c3d5-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">(Signing key in text): <code> 1c8e490a-4972-7d73-8935-06621a0a6441	</code></p>
<p dir="auto">And here is an example JWT that was issued:</p>
<pre><code>eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjllZDRjNjc1NCJ9.eyJhdWQiOiI5MzgwZDJjNi1jNDM1LTRlZWMtYTg5Ny05ZWM5ZDA4NGJjZTgiLCJleHAiOjE1OTQ0ODk5NTMsImlhdCI6MTU5NDQ4NjM1MywiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIxMzUyOWVkZi05NjFlLTRkM2EtODE3Ny1hMmYxN2NmNTU0YjEiLCJhdXRoZW50aWNhdGlvblR5cGUiOiJQQVNTV09SRCIsImVtYWlsIjoibXNyYWdoZWJAdWNpLmVkdSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJyb2xlcyI6WyJTZXJ2YW50Il0sImFwcGxpY2F0aW9uSWQiOiI5MzgwZDJjNi1jNDM1LTRlZWMtYTg5Ny05ZWM5ZDA4NGJjZTgiLCJwZXJzb25faWQiOjF9.aKajyZmIWe0d0ijoV2oTpxVUeQpOieaV5C80SoLqCrA
</code></pre>
<p dir="auto">I don't know how to further debug this. Any help appreciated, thank you.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/224/manually-verifying-a-jwt</link><generator>RSS for Node</generator><lastBuildDate>Mon, 15 Jun 2026 14:41:38 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/224.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 11 Jul 2020 19:52:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Manually verifying a JWT on Mon, 30 Jan 2023 08:18:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/168">@raghebmichael</a> said in <a href="/community/forum/post/566">Manually verifying a JWT</a>:</p>
<blockquote>
<p dir="auto">Something is very wrong. I don't know if this is something anybody else is facing, but I changed to a RS256 key and used the public key on <a href="http://jwt.io" rel="nofollow ugc">jwt.io</a> and it is still invalid. I cannot validate a JWT outside of /api/jwt/validate. This is a really big deal to me to be able to do something as simple as validating. Please let me know if I am in error, but if I can't get this to work I cannot continue using fusionauth and that's a big bummer to me as I had high hopes for this service.</p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1594505558711-b63ceaca-e17c-48e4-b7cc-fe757eff696f-image.png" alt="b63ceaca-e17c-48e4-b7cc-fe757eff696f-image.png" class=" img-fluid img-markdown" /></p>
</blockquote>
<p dir="auto">This is exactly what I was looking for to solve my problem.<br />
Thank you very much.</p>
]]></description><link>https://fusionauth.io/community/forum/post/5887</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/5887</guid><dc:creator><![CDATA[grately47]]></dc:creator><pubDate>Mon, 30 Jan 2023 08:18:11 GMT</pubDate></item><item><title><![CDATA[Reply to Manually verifying a JWT on Wed, 04 Jan 2023 22:13:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/1859">@bharath-yadavally</a> Glad you're getting it figured out!</p>
]]></description><link>https://fusionauth.io/community/forum/post/5794</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/5794</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Wed, 04 Jan 2023 22:13:26 GMT</pubDate></item><item><title><![CDATA[Reply to Manually verifying a JWT on Tue, 03 Jan 2023 03:17:30 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> Discard my comment above regarding custom claims for JWT.</p>
<p dir="auto">I found your post: <a href="https://fusionauth.io/community/forum/topic/65/how-does-one-add-custom-claims-to-the-jwt-issued-by-the-oauth-flow?_=1672715552700">https://fusionauth.io/community/forum/topic/65/how-does-one-add-custom-claims-to-the-jwt-issued-by-the-oauth-flow?_=1672715552700</a></p>
<p dir="auto">Which should guide me through next steps. Thanks <img src="https://fusionauth.io/community/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f468-200d-1f4bb.png?v=rcgg4tg866g" class="not-responsive emoji emoji-android emoji--male-technologist" style="height:23px;width:auto;vertical-align:middle" title=":male-technologist:" alt="👨‍💻" /></p>
]]></description><link>https://fusionauth.io/community/forum/post/5793</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/5793</guid><dc:creator><![CDATA[bharath.yadavally]]></dc:creator><pubDate>Tue, 03 Jan 2023 03:17:30 GMT</pubDate></item><item><title><![CDATA[Reply to Manually verifying a JWT on Tue, 03 Jan 2023 03:08:35 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> Now I am able to validate the token using RS256.<br />
But, trying to figure out how can I add a user status <code>ACTIVE</code> or <code>INACTIVE</code> to jwt token when generated first time by fusionauth.</p>
<p dir="auto">I previously used auth0 where we can add a js script like lambda functions to add custom parameters to jwt. Is something I could do with fusionauth?</p>
]]></description><link>https://fusionauth.io/community/forum/post/5792</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/5792</guid><dc:creator><![CDATA[bharath.yadavally]]></dc:creator><pubDate>Tue, 03 Jan 2023 03:08:35 GMT</pubDate></item><item><title><![CDATA[Reply to Manually verifying a JWT on Tue, 03 Jan 2023 03:06:02 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> I forgot how I created my key at first place, imported a new one and using private key which I generated.</p>
]]></description><link>https://fusionauth.io/community/forum/post/5791</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/5791</guid><dc:creator><![CDATA[bharath.yadavally]]></dc:creator><pubDate>Tue, 03 Jan 2023 03:06:02 GMT</pubDate></item><item><title><![CDATA[Reply to Manually verifying a JWT on Tue, 03 Jan 2023 02:45:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/1859">@bharath-yadavally</a> You don't typically view the RS256 secret for a generated key.</p>
<p dir="auto">If you must have access to that, generate the RS256 keypair outside of FusionAuth and import the keypair.</p>
]]></description><link>https://fusionauth.io/community/forum/post/5790</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/5790</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Tue, 03 Jan 2023 02:45:37 GMT</pubDate></item><item><title><![CDATA[Reply to Manually verifying a JWT on Tue, 03 Jan 2023 00:36:21 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> How can I view RS256 secret?</p>
<p dir="auto">It says <code>The private key is not viewable</code></p>
<p dir="auto"><img src="%5B%5Berror:parse-error%5D%5D" alt="Screen Shot 2023-01-03 at 11.34.46 am.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://fusionauth.io/community/forum/post/5789</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/5789</guid><dc:creator><![CDATA[bharath.yadavally]]></dc:creator><pubDate>Tue, 03 Jan 2023 00:36:21 GMT</pubDate></item><item><title><![CDATA[Reply to Manually verifying a JWT on Tue, 14 Jul 2020 12:58:47 GMT]]></title><description><![CDATA[<p dir="auto">Excellent, I'm glad you figured it out.</p>
]]></description><link>https://fusionauth.io/community/forum/post/586</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/586</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Tue, 14 Jul 2020 12:58:47 GMT</pubDate></item><item><title><![CDATA[Reply to Manually verifying a JWT on Tue, 14 Jul 2020 02:59:04 GMT]]></title><description><![CDATA[<p dir="auto">Thank you so much Dan, that was exactly the issue. I successfully verified a token with that secret. I appreciate it very much.</p>
]]></description><link>https://fusionauth.io/community/forum/post/584</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/584</guid><dc:creator><![CDATA[raghebmichael]]></dc:creator><pubDate>Tue, 14 Jul 2020 02:59:04 GMT</pubDate></item><item><title><![CDATA[Reply to Manually verifying a JWT on Mon, 13 Jul 2020 14:45:01 GMT]]></title><description><![CDATA[<p dir="auto">Hiya,</p>
<p dir="auto">I was able to successfully decode a JWT. From reviewing this thread, I think maybe the issue is that you are using the wrong secret. It seems like you might have accidentally been using the id of the signing key <code>'1c8e490a-4972-7d73-8935-06621a0a6441'</code> instead of the actual secret key.</p>
<p dir="auto">Here's how I found my secret key:</p>
<ul>
<li>go to settings</li>
<li>go to keymaster</li>
<li>click on the green magnifying glass icon to view the default key</li>
<li>click on <code>click here</code> to see the secret.</li>
</ul>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1594651311084-screen-shot-2020-07-13-at-8.41.00-am.png" alt="Screen Shot 2020-07-13 at 8.41.00 AM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">My secret looked something like this: <code>n0EfufcUAuYM6199G3ffRp+YUVMPodabtlI/wT8oBYc=</code>.</p>
<p dir="auto">Can you try validating your JWT with the secret found through those steps and let me know how it goes?</p>
]]></description><link>https://fusionauth.io/community/forum/post/572</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/572</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Mon, 13 Jul 2020 14:45:01 GMT</pubDate></item><item><title><![CDATA[Reply to Manually verifying a JWT on Sun, 12 Jul 2020 00:54:52 GMT]]></title><description><![CDATA[<p dir="auto">Hmmm. I'll take a look on Monday.</p>
]]></description><link>https://fusionauth.io/community/forum/post/567</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/567</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Sun, 12 Jul 2020 00:54:52 GMT</pubDate></item><item><title><![CDATA[Reply to Manually verifying a JWT on Sat, 11 Jul 2020 22:13:42 GMT]]></title><description><![CDATA[<p dir="auto">Something is very wrong. I don't know if this is something anybody else is facing, but I changed to a RS256 key and used the public key on <a href="http://jwt.io" rel="nofollow ugc">jwt.io</a> and it is still invalid. I cannot validate a JWT outside of /api/jwt/validate. This is a really big deal to me to be able to do something as simple as validating. Please let me know if I am in error, but if I can't get this to work I cannot continue using fusionauth and that's a big bummer to me as I had high hopes for this service.</p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1594505558711-b63ceaca-e17c-48e4-b7cc-fe757eff696f-image.png" alt="b63ceaca-e17c-48e4-b7cc-fe757eff696f-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://fusionauth.io/community/forum/post/566</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/566</guid><dc:creator><![CDATA[raghebmichael]]></dc:creator><pubDate>Sat, 11 Jul 2020 22:13:42 GMT</pubDate></item><item><title><![CDATA[Reply to Manually verifying a JWT on Sat, 11 Jul 2020 20:32:09 GMT]]></title><description><![CDATA[<p dir="auto">I don't think it's an issue with server time. I can't verify the signature on <a href="http://jwt.io" rel="nofollow ugc">jwt.io</a> when using my secret and token.</p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1594499501199-16235667-e0ce-451a-b3e3-da64a2d97a05-image.png" alt="16235667-e0ce-451a-b3e3-da64a2d97a05-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Here is the long lasting token:<br />
<code>eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjllZDRjNjc1NCJ9.eyJhdWQiOiI5MzgwZDJjNi1jNDM1LTRlZWMtYTg5Ny05ZWM5ZDA4NGJjZTgiLCJleHAiOjE1OTQ1ODU2ODYsImlhdCI6MTU5NDQ5OTI4NiwiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIxMzUyOWVkZi05NjFlLTRkM2EtODE3Ny1hMmYxN2NmNTU0YjEiLCJhdXRoZW50aWNhdGlvblR5cGUiOiJQQVNTV09SRCIsImVtYWlsIjoibXNyYWdoZWJAdWNpLmVkdSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhcHBsaWNhdGlvbklkIjoiOTM4MGQyYzYtYzQzNS00ZWVjLWE4OTctOWVjOWQwODRiY2U4Iiwicm9sZXMiOlsiU2VydmFudCJdLCJwZXJzb25faWQiOjF9.GQNEPj3GJe5ejQFg3YVmBmVEbMUlmQLSUuyPe2bTUXk</code></p>
]]></description><link>https://fusionauth.io/community/forum/post/565</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/565</guid><dc:creator><![CDATA[raghebmichael]]></dc:creator><pubDate>Sat, 11 Jul 2020 20:32:09 GMT</pubDate></item><item><title><![CDATA[Reply to Manually verifying a JWT on Sat, 11 Jul 2020 20:18:30 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/563">Manually verifying a JWT</a>:</p>
<blockquote>
<p dir="auto">hmac_secret = '1c8e490a-4972-7d73-8935-06621a0a6441'</p>
<p dir="auto">token = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjllZDRjNjc1NCJ9.eyJhdWQiOiI5MzgwZDJjNi1jNDM1LTRlZWMtYTg5Ny05ZWM5ZDA4NGJjZTgiLCJleHAiOjE1OTQ0ODk5NTMsImlhdCI6MTU5NDQ4NjM1MywiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIxMzUyOWVkZi05NjFlLTRkM2EtODE3Ny1hMmYxN2NmNTU0YjEiLCJhdXRoZW50aWNhdGlvblR5cGUiOiJQQVNTV09SRCIsImVtYWlsIjoibXNyYWdoZWJAdWNpLmVkdSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJyb2xlcyI6WyJTZXJ2YW50Il0sImFwcGxpY2F0aW9uSWQiOiI5MzgwZDJjNi1jNDM1LTRlZWMtYTg5Ny05ZWM5ZDA4NGJjZTgiLCJwZXJzb25faWQiOjF9.aKajyZmIWe0d0ijoV2oTpxVUeQpOieaV5C80SoLqCrA'</p>
<p dir="auto">puts token</p>
<p dir="auto">decoded_token = JWT.decode token, hmac_secret, true, { algorithm: 'HS256' }</p>
<p dir="auto">puts decoded_token</p>
</blockquote>
<p dir="auto">Thanks for the response. Here's one that was just generated and shouldn't be expired:</p>
<p dir="auto"><code>eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjllZDRjNjc1NCJ9.eyJhdWQiOiI5MzgwZDJjNi1jNDM1LTRlZWMtYTg5Ny05ZWM5ZDA4NGJjZTgiLCJleHAiOjE1OTQ1MDIwMTQsImlhdCI6MTU5NDQ5ODQxNCwiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIxMzUyOWVkZi05NjFlLTRkM2EtODE3Ny1hMmYxN2NmNTU0YjEiLCJhdXRoZW50aWNhdGlvblR5cGUiOiJQQVNTV09SRCIsImVtYWlsIjoibXNyYWdoZWJAdWNpLmVkdSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhcHBsaWNhdGlvbklkIjoiOTM4MGQyYzYtYzQzNS00ZWVjLWE4OTctOWVjOWQwODRiY2U4Iiwicm9sZXMiOlsiU2VydmFudCJdLCJwZXJzb25faWQiOjF9.Xf_LYuqhxC1mskoEtKTJogqA_x3PKJlpwkXgRokgI2I</code></p>
<p dir="auto">I tried this following code like yours with the new token and it gives me signature error:</p>
<pre><code>hmac_secret = '1c8e490a-4972-7d73-8935-06621a0a6441'

    token = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjllZDRjNjc1NCJ9.eyJhdWQiOiI5MzgwZDJjNi1jNDM1LTRlZWMtYTg5Ny05ZWM5ZDA4NGJjZTgiLCJleHAiOjE1OTQ1MDIwMTQsImlhdCI6MTU5NDQ5ODQxNCwiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIxMzUyOWVkZi05NjFlLTRkM2EtODE3Ny1hMmYxN2NmNTU0YjEiLCJhdXRoZW50aWNhdGlvblR5cGUiOiJQQVNTV09SRCIsImVtYWlsIjoibXNyYWdoZWJAdWNpLmVkdSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhcHBsaWNhdGlvbklkIjoiOTM4MGQyYzYtYzQzNS00ZWVjLWE4OTctOWVjOWQwODRiY2U4Iiwicm9sZXMiOlsiU2VydmFudCJdLCJwZXJzb25faWQiOjF9.Xf_LYuqhxC1mskoEtKTJogqA_x3PKJlpwkXgRokgI2I'

    puts token

    decoded_token = JWT.decode token, hmac_secret, true, { algorithm: 'HS256' }

    puts decoded_token</code></pre>
]]></description><link>https://fusionauth.io/community/forum/post/564</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/564</guid><dc:creator><![CDATA[raghebmichael]]></dc:creator><pubDate>Sat, 11 Jul 2020 20:18:30 GMT</pubDate></item><item><title><![CDATA[Reply to Manually verifying a JWT on Sat, 11 Jul 2020 20:08:09 GMT]]></title><description><![CDATA[<p dir="auto">Hiya,</p>
<p dir="auto">Here's an example library of decoding JWTs: <a href="https://github.com/FusionAuth/fusionauth-example-ruby-jwt" rel="nofollow ugc">https://github.com/FusionAuth/fusionauth-example-ruby-jwt</a></p>
<p dir="auto">Code based on this seems to work with your payload:</p>
<pre><code class="language-ruby">require 'jwt'

hmac_secret = '1c8e490a-4972-7d73-8935-06621a0a6441'

exp = Time.now.to_i + (5*60)
iat = Time.now.to_i + (0*60)

payload = {
  "aud": "9380d2c6-c435-4eec-a897-9ec9d084bce8",
  "exp": exp,
  "iat": iat,
  "iss": "acme.com",
  "sub": "13529edf-961e-4d3a-8177-a2f17cf554b1",
  "authenticationType": "PASSWORD",
  "email": "msragheb@uci.edu",
  "email_verified": true,
  "roles": [
    "Servant"
  ],
  "applicationId": "9380d2c6-c435-4eec-a897-9ec9d084bce8",
  "person_id": 1
}

token = JWT.encode payload, hmac_secret, 'HS256', {"typ": "JWT", "kid": "abc"}

puts token

decoded_token = JWT.decode token, hmac_secret, true, { algorithm: 'HS256' }

puts decoded_token

</code></pre>
<p dir="auto">Here's similar code which just takes a JWT and decodes it:</p>
<pre><code class="language-ruby">require 'jwt'

# the todo API

hmac_secret = '1c8e490a-4972-7d73-8935-06621a0a6441'

token = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjllZDRjNjc1NCJ9.eyJhdWQiOiI5MzgwZDJjNi1jNDM1LTRlZWMtYTg5Ny05ZWM5ZDA4NGJjZTgiLCJleHAiOjE1OTQ0ODk5NTMsImlhdCI6MTU5NDQ4NjM1MywiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIxMzUyOWVkZi05NjFlLTRkM2EtODE3Ny1hMmYxN2NmNTU0YjEiLCJhdXRoZW50aWNhdGlvblR5cGUiOiJQQVNTV09SRCIsImVtYWlsIjoibXNyYWdoZWJAdWNpLmVkdSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJyb2xlcyI6WyJTZXJ2YW50Il0sImFwcGxpY2F0aW9uSWQiOiI5MzgwZDJjNi1jNDM1LTRlZWMtYTg5Ny05ZWM5ZDA4NGJjZTgiLCJwZXJzb25faWQiOjF9.aKajyZmIWe0d0ijoV2oTpxVUeQpOieaV5C80SoLqCrA'

puts token

decoded_token = JWT.decode token, hmac_secret, true, { algorithm: 'HS256' }

puts decoded_token

</code></pre>
<p dir="auto">Right now of course the JWT you provided won't be valid because it expired. Can you generate a JWT good for 30 days and share that here? Or try to use the above code to decode it?</p>
<p dir="auto">I'd also make sure that the server has the correct time on it and that the access token is just the JWT and doesn't include <code>Bearer </code>.</p>
]]></description><link>https://fusionauth.io/community/forum/post/563</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/563</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Sat, 11 Jul 2020 20:08:09 GMT</pubDate></item></channel></rss>