Skip to content

Commit

Permalink
fix: make phone number in id token optional (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
braaar authored Jan 19, 2024
1 parent 49473bf commit 254f44f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authentication/decode-abax-profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const abaxIdTokenPayload = z.object({
'http://schemas.abax.no/identity/claims/countrycode': z.string(),
email: z.string(),
email_verified: z.boolean(),
phone_number: z.string(),
phone_number: z.string().optional(),
'http://schemas.abax.no/identity/claims/securitystamp': z.string(),
});

Expand Down

0 comments on commit 254f44f

Please sign in to comment.