From 45ce7c1778bc256929f0193c7fd0ce7f63941572 Mon Sep 17 00:00:00 2001 From: coyotte508 Date: Tue, 26 Nov 2024 12:45:53 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A5=20Fix=20avatar=20name=20&=20userna?= =?UTF-8?q?me=20mixup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hub/src/lib/oauth-handle-redirect.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/hub/src/lib/oauth-handle-redirect.ts b/packages/hub/src/lib/oauth-handle-redirect.ts index 771b6d439..cab892db4 100644 --- a/packages/hub/src/lib/oauth-handle-redirect.ts +++ b/packages/hub/src/lib/oauth-handle-redirect.ts @@ -161,6 +161,7 @@ export async function oauthHandleRedirect(opts?: { hubUrl?: string }): Promise ({ id: org.sub, - name: org.name, + name: org.preferred_username, fullname: org.name, isEnterprise: org.isEnterprise, canPay: org.canPay,