<?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[How is Token validation performed?]]></title><description><![CDATA[<p dir="auto">Reading through the <a href="https://fusionauth.io/docs/quickstarts/quickstart-dotnet-api" rel="nofollow ugc">ASP.NET backend setup for FusionAuth</a>, in terms of configuration settings, this is all that's required:</p>
<pre><code>"Authentication": {
    "Schemes": {
      "Bearer": {
        "Authority": "http://localhost:9011",
        "ValidAudiences": [
          "e9fdb985-9173-4e01-9d73-ac2d60d1dc8e"
        ]
      }
    }
  }
</code></pre>
<p dir="auto">Because there's no client secret, I'm wondering how the token is validated without the api server needing to communicate with the FusionAuth authorization server? Should the ValidAudience uuid be considered sensitive data?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://fusionauth.io/community/forum/topic/2753/how-is-token-validation-performed</link><generator>RSS for Node</generator><lastBuildDate>Thu, 10 Sep 2026 17:14:34 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/2753.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Aug 2024 14:20:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How is Token validation performed? on Tue, 27 Aug 2024 13:27:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3190">@benlabbe2007</a>: So in this example, the token is generate with the api password<br />
<strong>this_really_should_be_a_long_random_alphanumeric_value_but_this_still_works</strong>.</p>
<p dir="auto">The following request is sent to the FusionAuth server and returns the signed JWT.</p>
<pre><code>curl --location 'http://localhost:9011/api/login' \
--header 'Authorization: this_really_should_be_a_long_random_alphanumeric_value_but_this_still_works' \
--header 'Content-Type: application/json' \
--data-raw '{
  "loginId": "customer@example.com",
  "password": "password",
  "applicationId": "e9fdb985-9173-4e01-9d73-ac2d60d1dc8e"
}'

</code></pre>
<p dir="auto">That password is sensitive and you would not share that for a production environment.</p>
<p dir="auto">In the example, you pass the token you received from the above call to the api server. The Microsoft.ASPNetCoreAuthentication.JweBearer validates the JWT by default. Since the JWT is signed, we can assume it has not been tampered with. It is possible to add custom validation criteria for special cases if needed.</p>
<p dir="auto">The ValidAudiences UUID should not be considered sensitive as it is contained in the JWT and anyone with access to the JWT can see it.</p>
]]></description><link>https://fusionauth.io/community/forum/post/7489</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7489</guid><dc:creator><![CDATA[mark.robustelli]]></dc:creator><pubDate>Tue, 27 Aug 2024 13:27:09 GMT</pubDate></item></channel></rss>