We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a16602a + 79fa124 commit 495396bCopy full SHA for 495396b
src/Infrastructure/BotSharp.Core/Users/Services/UserService.cs
@@ -192,7 +192,8 @@ private string GenerateJwtToken(User user)
192
new Claim(JwtRegisteredClaimNames.FamilyName, user?.LastName ?? string.Empty),
193
new Claim("source", user.Source),
194
new Claim("external_id", user.ExternalId ?? string.Empty),
195
- new Claim(JwtRegisteredClaimNames.Jti, Guid.NewGuid().ToString())
+ new Claim(JwtRegisteredClaimNames.Jti, Guid.NewGuid().ToString()),
196
+ new Claim("phone", user.Phone ?? string.Empty)
197
};
198
199
var validators = _services.GetServices<IAuthenticationHook>();
0 commit comments