Skip to content

Commit

Permalink
chore: update changeset
Browse files Browse the repository at this point in the history
update changeset
  • Loading branch information
simeng-li committed Jul 16, 2024
1 parent 9c6d604 commit a279c2f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ Fix: Always get the access token by calling `LogtoClient.getAccessToken`, which

Bug fix

Fix the IdToken claims key parsing issue:
Fix the `OpenIdClaims` class key parsing issue:

- `avatar` key is now `picture`
- `phone` key is now `phone_number`
- `phone_verified` key is now `phone_number_verified`
- `avatar` key is now `picture` mapped from the `picture` key in the token claims
- `phone` key is now `phoneNumber` mapped from the `phone_number` key in the token claims
- `phoneVerified` key is now `phoneNumberVerified` mapped from the `phone_number_verified` key in the token claims

Previous key mapping values are always empty as they are not available in the IdToken claims.
This fix update the key mapping to the correct values.

0 comments on commit a279c2f

Please sign in to comment.