<?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[Missing Email address in JWT token claims]]></title><description><![CDATA[<p dir="auto">The email is missing in the token claims when I call the "/api/identity-provider/login" endpoint. The user successfully logs in, but when I parse the token, the email address is missing</p>
]]></description><link>https://fusionauth.io/community/forum/topic/2757/missing-email-address-in-jwt-token-claims</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 17:36:49 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/2757.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Sep 2024 11:02:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Missing Email address in JWT token claims on Thu, 26 Sep 2024 21:21:26 GMT]]></title><description><![CDATA[<p dir="auto">@Alex-Patterson<br />
Indeed, you are right, it is because of the scope configuration, whose default values have changed. The advice in the release notes regarding this in version 1.50 also sounds appropriate in retrospect.</p>
<p dir="auto">What surprises me is that these settings are relevant when I perform the oldschool login via POST /api/login, I wasn't aware of that...</p>
<p dir="auto">Thanks for the tip!<img src="https://fusionauth.io/community/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/2764.png?v=rcgg4tg866g" class="not-responsive emoji emoji-android emoji--heart" style="height:23px;width:auto;vertical-align:middle" title=":heart:" alt="❤" />  I would probably have been looking for the difference for a while...</p>
]]></description><link>https://fusionauth.io/community/forum/post/7527</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7527</guid><dc:creator><![CDATA[bubblez]]></dc:creator><pubDate>Thu, 26 Sep 2024 21:21:26 GMT</pubDate></item><item><title><![CDATA[Reply to Missing Email address in JWT token claims on Thu, 26 Sep 2024 16:20:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/158">@bubblez</a> there was also a change in 1.50 (so I am surprised if you were on 1.51 if this would happen) where we stopped sending email to the <code>app.id</code> JWT and only provide this within <code>app.idt</code>.</p>
<p dir="auto">I would recommend updating the code accordingly if you are still using this method.</p>
<p dir="auto">An alternative but not suggested is to change your scope handling policy to <code>Compatibility</code> which will send this again in your <code>app.id</code>.</p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1727367625851-096febf1-8a5d-4f25-aae2-37a38ee3b104-image-resized.png" alt="096febf1-8a5d-4f25-aae2-37a38ee3b104-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://fusionauth.io/community/forum/post/7526</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7526</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 26 Sep 2024 16:20:35 GMT</pubDate></item><item><title><![CDATA[Reply to Missing Email address in JWT token claims on Thu, 26 Sep 2024 15:57:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/158">@bubblez</a> do you have the scope correctly set within your Identiy provider?</p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1727366070802-169f5005-8172-4958-8e89-d0f49dbe3d66-image.png" alt="169f5005-8172-4958-8e89-d0f49dbe3d66-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I am testing this now locally to see if there is a difference on the versions.</p>
]]></description><link>https://fusionauth.io/community/forum/post/7525</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7525</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 26 Sep 2024 15:57:18 GMT</pubDate></item><item><title><![CDATA[Reply to Missing Email address in JWT token claims on Wed, 25 Sep 2024 21:37:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/20">@dan</a> , can you give me a quick hint? <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>
]]></description><link>https://fusionauth.io/community/forum/post/7522</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7522</guid><dc:creator><![CDATA[bubblez]]></dc:creator><pubDate>Wed, 25 Sep 2024 21:37:07 GMT</pubDate></item><item><title><![CDATA[Reply to Missing Email address in JWT token claims on Fri, 20 Sep 2024 20:39:37 GMT]]></title><description><![CDATA[<p dir="auto">I have the same problem (since my update from 1.51.X to 1.53.2 maybe?), but only for users created with the new version. This is strange...</p>
<p dir="auto">The email claim is then missing in the token:</p>
<p dir="auto">{<br />
“aud": ‘fe6b5ed0-89a5-43f8-a7af-ec69c47a0c25’,<br />
“exp": 1726866934,<br />
“iat": 1726863334,<br />
“iss": ‘xyz’,<br />
“sub": ‘c1593867-dd98-4273-b965-8a15b101fbf8’,<br />
“jti": ‘83b5bd18-2f3e-4c9e-91b6-2f5c8e49846b’,<br />
“authenticationType": ‘PASSWORDLESS’,<br />
“applicationId": ‘fe6b5ed0-89a5-43f8-a7af-ec69c47a0c25’,<br />
“roles": [],<br />
“sid": ‘e02e3a3a-12b3-4789-905f-4a4bd01d89ec’,<br />
“auth_time": 1726863334,<br />
“tid": ”fe6b5ed0-89a5-43f8-a7af-ec69c47a0c25”<br />
}</p>
<p dir="auto">Old, existing users do have the email claim in the token.</p>
<p dir="auto">What was the solution for you <a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/1324">@sandiprghane</a> ?</p>
<p dir="auto">Can anyone help?</p>
]]></description><link>https://fusionauth.io/community/forum/post/7521</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7521</guid><dc:creator><![CDATA[bubblez]]></dc:creator><pubDate>Fri, 20 Sep 2024 20:39:37 GMT</pubDate></item></channel></rss>