Skip to content

Commit

Permalink
feature: Add email to google provider-identity metadata (#10081)
Browse files Browse the repository at this point in the history
* feature: Add email to google provider-identity metadata

* Include changeset.

---------

Co-authored-by: Stevche Radevski <sradevski@live.com>
  • Loading branch information
Furman1331 and sradevski authored Nov 14, 2024
1 parent 3e26522 commit 4c98355
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/good-yaks-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@medusajs/auth-google": patch
---

feature: Add email to google provider-identity metadata
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export class GoogleAuthService extends AbstractAuthModuleProvider {
const entity_id = payload.sub
const userMetadata = {
name: payload.name,
email: payload.email,
picture: payload.picture,
given_name: payload.given_name,
family_name: payload.family_name,
Expand Down

0 comments on commit 4c98355

Please sign in to comment.