<?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[FormField email verification - Numerical code &amp; JWT content]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have two questions for which I haven't found an answer anywhere in the documentation or among the issues.</p>
<ul>
<li>
<p dir="auto">Using FormField email verification strategy, is it possible to configure it to only send numerical codes (12345) instead of alphanumerical codes (A1B2C) ?</p>
</li>
<li>
<p dir="auto">In our application, we only use the FusionAuth API and we want to enforce the gated behavior for unverified user. Thus we expected to get verified status in their JWT OAuth token but it seems to not be the case. Our current workaround is on every user request, query its user data from FustionAuth API and check that "verified: true" or return an error. Is our workaround the only solution or did we miss something ?</p>
</li>
</ul>
<p dir="auto">NB: We are on paid starter plan.</p>
<p dir="auto">Kind regards,<br />
Maxime</p>
]]></description><link>https://fusionauth.io/community/forum/topic/2889/formfield-email-verification-numerical-code-jwt-content</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 23:04:41 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/2889.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Mar 2025 09:13:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FormField email verification - Numerical code &amp; JWT content on Thu, 13 Mar 2025 01:17:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3443">@maxime-aerts</a> There may be a way to control the format the verification is sent.</p>
<p dir="auto">Please:</p>
<ul>
<li>Go into the <strong>Admin UI</strong></li>
<li>Select <strong>Tenants</strong></li>
<li>Select <strong>Edit</strong> for the Tenant you want to change</li>
<li>Select the <strong>Advanced</strong> tab</li>
<li>Scroll down to the <strong>External identifier generation</strong> section</li>
<li>Find <strong>Email verification</strong></li>
<li>Choose <strong>Digits</strong></li>
</ul>
<p dir="auto">There are other settings that may work for you as well depending on what you are trying to do.  Please test it out and let me know if this works for you. Please keep in mind, you will be reducing the randomness and in turn the security of such identifiers.</p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1741828577860-screenshot-2025-03-12-at-5.56.53-pm.png" alt="Screenshot 2025-03-12 at 5.56.53 PM.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://fusionauth.io/community/forum/post/7886</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7886</guid><dc:creator><![CDATA[mark.robustelli]]></dc:creator><pubDate>Thu, 13 Mar 2025 01:17:28 GMT</pubDate></item><item><title><![CDATA[Reply to FormField email verification - Numerical code &amp; JWT content on Wed, 12 Mar 2025 08:45:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2507">@mark-robustelli</a> Indeed, we didn't know about Lambdas and this seems to do the trick. Thank you!</p>
]]></description><link>https://fusionauth.io/community/forum/post/7881</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7881</guid><dc:creator><![CDATA[maxime.aerts]]></dc:creator><pubDate>Wed, 12 Mar 2025 08:45:08 GMT</pubDate></item><item><title><![CDATA[Reply to FormField email verification - Numerical code &amp; JWT content on Thu, 06 Mar 2025 16:24:06 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/3443">@maxime-aerts</a>,</p>
<p dir="auto">As for your first question, I don't think you can change the values to only send numerical codes, but I will look into a bit deeper.  I will let you know if I find otherwise or anyone feel free to jump in if you know.</p>
<p dir="auto">For the second question, have you looked at <a href="https://fusionauth.io/docs/extend/code/lambdas/jwt-populate" rel="nofollow ugc">Lambdas</a>?  You should be able to add the user.verified value to the JWT.</p>
<p dir="auto">It would look something like this.</p>
<pre><code>function populate(jwt, user, registration) {
  // Add a new claim named 'user_verified' from a data attribute on the user
  jwt.user_verified = user.verified;
}
</code></pre>
<p dir="auto">If you need more help on how to create a Lambda, just let me know.</p>
]]></description><link>https://fusionauth.io/community/forum/post/7873</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7873</guid><dc:creator><![CDATA[mark.robustelli]]></dc:creator><pubDate>Thu, 06 Mar 2025 16:24:06 GMT</pubDate></item></channel></rss>