<?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[Should I validate my JWTs with FusionAuth or locally?]]></title><description><![CDATA[<p dir="auto">I see there is a <a href="https://fusionauth.io/docs/v1/tech/apis/jwt/#validate-a-jwt" rel="nofollow ugc">validation endpoint</a>. Should I use that or a local library to validate my JWTs?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/610/should-i-validate-my-jwts-with-fusionauth-or-locally</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 12:40:11 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/610.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Nov 2020 18:32:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Should I validate my JWTs with FusionAuth or locally? on Mon, 30 Nov 2020 18:45:04 GMT]]></title><description><![CDATA[<p dir="auto">You should always validate your JWT locally.</p>
<p dir="auto"><a href="https://fusionauth.io/docs/v1/tech/core-concepts/authentication-authorization/" rel="nofollow ugc">As outlined in this doc</a>, you need to make sure, at a minimum, that the <code>aud</code>, <code>roles</code>, and <code>iss</code> claims are as expected, and that can only be done by looking at a JWT and examining those claims. If you use a library that supports JWKS, doing this should be super simple.</p>
<p dir="auto">Note that the FusionAuth API endpoint validates JWTs at a basic level. It ensures that the JWT hasn't expired and that it was signed correctly.</p>
<p dir="auto">The reasons to use the API endpoint are:</p>
<ul>
<li>If you have an HMAC signed JWT and you don't want to share the secret with the JWT consumer</li>
<li>If you have no JWT library that is available (whether because it hasn't been written, or you don't want to deploy it with your application)</li>
<li>You are willing to accept a network call instead of loading up a such a library</li>
</ul>
]]></description><link>https://fusionauth.io/community/forum/post/1822</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/1822</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Mon, 30 Nov 2020 18:45:04 GMT</pubDate></item></channel></rss>