<?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[Token type?]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I tried to validate a JWT access token issued by a FusionAuth server instance in Python with <a href="https://github.com/SimpleJWT/django-rest-framework-simplejwt" rel="nofollow ugc">Simple JWT</a> but got the error:</p>
<pre><code>rest_framework_simplejwt.exceptions.TokenError: Token has no type
</code></pre>
<p dir="auto">The library expects a key <code>token_type</code> (configurable) with a value of <code>access</code> in the token's payload but FusionAuth does not include such in its tokens. Does anyone have any idea what's wrong here?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/433/token-type</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 13:03:35 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/433.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Sep 2020 00:25:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Token type? on Mon, 28 Sep 2020 17:01:21 GMT]]></title><description><![CDATA[<p dir="auto">Seems like the library I used is opinionated. Thanks for the hints.</p>
]]></description><link>https://fusionauth.io/community/forum/post/1302</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/1302</guid><dc:creator><![CDATA[AliMirlou]]></dc:creator><pubDate>Mon, 28 Sep 2020 17:01:21 GMT</pubDate></item><item><title><![CDATA[Reply to Token type? on Mon, 28 Sep 2020 01:51:59 GMT]]></title><description><![CDATA[<p dir="auto">I don't believe that is part of <a href="https://tools.ietf.org/html/rfc7519" rel="nofollow ugc">the spec</a> but you can add arbitrary values to your tokens using <a href="https://fusionauth.io/docs/v1/tech/lambdas/jwt-populate" rel="nofollow ugc">a lambda</a> so that's what I'd look at to get the JWT in the format the library expects.</p>
]]></description><link>https://fusionauth.io/community/forum/post/1298</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/1298</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Mon, 28 Sep 2020 01:51:59 GMT</pubDate></item></channel></rss>