Skip to content

Commit

Permalink
feat: set email_verified in user on GitHub provider (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrojean authored Feb 4, 2025
1 parent be2ccaf commit 01367c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/server/lib/oauth/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export function defineOAuthGitHubEventHandler({ config, onSuccess, onError }: OA
return onError(event, error)
}
user.email = primaryEmail.email
user.email_verified = primaryEmail.verified
}

return onSuccess(event, {
Expand Down

0 comments on commit 01367c2

Please sign in to comment.