fix(github): label Copilot profiles by account identity (#2498)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ryanngitandCursor authored and decolua committed 2026-07-10 11:29:12 +07:00
1 parent e79f9eddb4
commit 3a7a878f91
3 files changed
+28 -1

No files matched your search

+3
View File
@@ -777,6 +777,9 @@ const PROVIDERS = {
accessToken: tokens.access_token,
refreshToken: tokens.refresh_token,
expiresIn: tokens.expires_in,
name: extra?.userInfo?.login || extra?.userInfo?.name,
displayName: extra?.userInfo?.name || extra?.userInfo?.login,
email: extra?.userInfo?.email || null,
providerSpecificData: {
copilotToken: extra?.copilotToken?.token,
copilotTokenExpiresAt: extra?.copilotToken?.expires_at,