Skip to content

Update claims in TokenService and add mobile phone claim#1058

Merged
iammukeshm merged 1 commit into
fullstackhero:mainfrom
jacekmichalski:fix/audit-trail
Nov 22, 2024
Merged

Update claims in TokenService and add mobile phone claim#1058
iammukeshm merged 1 commit into
fullstackhero:mainfrom
jacekmichalski:fix/audit-trail

Conversation

@jacekmichalski

Copy link
Copy Markdown
Contributor

Fix for #1049 thanks to @kallievz

I've checked this and it works. I'm simply creating a pull request with a fix from @kallievz

Description:
Replaced JwtRegisteredClaimNames with ClaimTypes for NameIdentifier, Email, and Name in the GetClaims method. Added a new claim for ClaimTypes.MobilePhone to include the user's phone number.

Replaced JwtRegisteredClaimNames with ClaimTypes for NameIdentifier, Email, and Name in the GetClaims method. Added a new claim for ClaimTypes.MobilePhone to include the user's phone number.
@jacekmichalski

Copy link
Copy Markdown
Contributor Author

It also fixes #1050

@iammukeshm
iammukeshm merged commit e7b5514 into fullstackhero:main Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants