Skip to content

Commit 767e17a

Browse files
authored
Fixed issue with populating email from JWT token. (#1651)
1 parent c97ea5a commit 767e17a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/users/signup-social/ko/runtime/signup-social.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export class SignupSocial {
6363

6464
this.firstName(jwtToken.given_name);
6565
this.lastName(jwtToken.family_name);
66-
this.email(jwtToken.email);
66+
this.email(jwtToken.email || jwtToken.emails?.[0]);
6767
}
6868

6969
/**

0 commit comments

Comments
 (0)