diff --git a/src/drivers/github.ts b/src/drivers/github.ts index 4e5129b..a372149 100644 --- a/src/drivers/github.ts +++ b/src/drivers/github.ts @@ -142,7 +142,7 @@ export class GithubDriver extends Oauth2Driver { emailVerificationState: (body.email ? 'verified' : 'unsupported') as AllyUserContract['emailVerificationState'], - name: body.name, + name: body.name ?? body.login, avatarUrl: body.avatar_url, original: body, }