<?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[When is &#96;introspect&#96; endpoint needed?]]></title><description><![CDATA[<p dir="auto">As I have understood, if the issued access token is not of type JWT, then the token's validity must be checked with the FusionAuth server for each user request.<br />
But seems like none of the client libraries have implemented this endpoint (at least Python and Javascript haven't) and the conclusion I get is that this endpoint is not as essential as I thought.<br />
Also saw that even the Python's <a href="https://requests-oauthlib.readthedocs.io" rel="nofollow ugc">requests_oauthlib</a> library has not implemented this endpoint in it's <a href="https://requests-oauthlib.readthedocs.io/en/latest/api.html#oauth-2-0-session" rel="nofollow ugc">OAuth2 session implementation</a>.<br />
So I'm a bit confused whether it's actually necessary to call this endpoint or not. Can anyone explain the protocol a bit?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/426/when-is-introspect-endpoint-needed</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 05:14:49 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/426.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Sep 2020 20:22:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to When is &#96;introspect&#96; endpoint needed? on Fri, 25 Sep 2020 20:27:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3">@robotdan</a> Also, it was actually me who opened the mentioned issue. <img src="https://fusionauth.io/community/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f605.png?v=rcgg4tg866g" class="not-responsive emoji emoji-android emoji--sweat_smile" style="height:23px;width:auto;vertical-align:middle" title=":sweat_smile:" alt="😅" /></p>
]]></description><link>https://fusionauth.io/community/forum/post/1284</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/1284</guid><dc:creator><![CDATA[AliMirlou]]></dc:creator><pubDate>Fri, 25 Sep 2020 20:27:18 GMT</pubDate></item><item><title><![CDATA[Reply to When is &#96;introspect&#96; endpoint needed? on Fri, 25 Sep 2020 20:25:13 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">In FusionAuth, the access token is always a JWT.</p>
</blockquote>
<p dir="auto">That's what I got wrong then. I thought that if I disable JWT in an application, then FusionAuth will issue some other type of access token. Now it's clear. <img src="https://fusionauth.io/community/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/270b.png?v=rcgg4tg866g" class="not-responsive emoji emoji-android emoji--hand" style="height:23px;width:auto;vertical-align:middle" title=":hand:" alt="✋" /><br />
Thank you.</p>
]]></description><link>https://fusionauth.io/community/forum/post/1283</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/1283</guid><dc:creator><![CDATA[AliMirlou]]></dc:creator><pubDate>Fri, 25 Sep 2020 20:25:13 GMT</pubDate></item><item><title><![CDATA[Reply to When is &#96;introspect&#96; endpoint needed? on Fri, 25 Sep 2020 19:52:09 GMT]]></title><description><![CDATA[<p dir="auto">In FusionAuth, the access token is always a JWT.</p>
<p dir="auto">So you can always validate it on your own if you like, or use the Introspect, UserInfo or Validate APIs in FusionAuth to tell if you if the JWT is valid.</p>
<p dir="auto">A FusionAuth invention.<br />
<a href="https://fusionauth.io/docs/v1/tech/apis/jwt#validate-a-jwt" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/apis/jwt#validate-a-jwt</a></p>
<p dir="auto">The OAuth2 way of doing it.<br />
<a href="https://fusionauth.io/docs/v1/tech/oauth/endpoints#introspect" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/oauth/endpoints#introspect</a></p>
<p dir="auto">The OpenID Connect way of doing it.<br />
<a href="https://fusionauth.io/docs/v1/tech/oauth/endpoints#userinfo" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/oauth/endpoints#userinfo</a></p>
<p dir="auto">Each of these APIs essentially does the same thing, takes a token and tells you if it is valid. If you're using an OAuth2 library that already knows how to call an Introspect endpoint, use that, if you're using an OIDC library that knows how to call the Userinfo endpoint, use that. If you're writing your own usage, use whatever you want! <img src="https://fusionauth.io/community/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=rcgg4tg866g" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
<p dir="auto">We can add the Introspect or Userinfo endpoints to the client library if you like. Here is an issue for Python. <a href="https://github.com/FusionAuth/fusionauth-python-client/issues/8" rel="nofollow ugc">https://github.com/FusionAuth/fusionauth-python-client/issues/8</a></p>
<p dir="auto">However, because each of these APIs does essentially the same thing, if you're using the client library, you may as well use <code>validateJWT</code>.</p>
]]></description><link>https://fusionauth.io/community/forum/post/1281</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/1281</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Fri, 25 Sep 2020 19:52:09 GMT</pubDate></item><item><title><![CDATA[Reply to When is &#96;introspect&#96; endpoint needed? on Fri, 25 Sep 2020 16:18:18 GMT]]></title><description><![CDATA[<p dir="auto">No problem. But I'm asking about non-JWT access tokens. What about those?</p>
]]></description><link>https://fusionauth.io/community/forum/post/1280</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/1280</guid><dc:creator><![CDATA[AliMirlou]]></dc:creator><pubDate>Fri, 25 Sep 2020 16:18:18 GMT</pubDate></item><item><title><![CDATA[Reply to When is &#96;introspect&#96; endpoint needed? on Thu, 24 Sep 2020 20:27:25 GMT]]></title><description><![CDATA[<p dir="auto">You don't need to call <code>introspect</code>, but you can if your code wants to check and see that a JWT is valid.</p>
<p dir="auto">However, if you have a resource server which isn't sure about the JWT it receives or really wants to double check it, you can call the introspect endpoint.</p>
<p dir="auto">Here's more information: <a href="https://www.oauth.com/oauth2-servers/token-introspection-endpoint/" rel="nofollow ugc">https://www.oauth.com/oauth2-servers/token-introspection-endpoint/</a></p>
<p dir="auto">PS sorry for pointing you the wrong way about introspect/<code>requests_oauthlib</code>.</p>
]]></description><link>https://fusionauth.io/community/forum/post/1270</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/1270</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Thu, 24 Sep 2020 20:27:25 GMT</pubDate></item></channel></rss>