@@ -26,7 +26,7 @@ import { AwsLoginWithBrowser, AwsRefreshCredentials, telemetry } from '../../sha
2626import { indent , toBase64URL } from '../../shared/utilities/textUtilities'
2727import { AuthSSOServer } from './server'
2828import { CancellationError , sleep } from '../../shared/utilities/timeoutUtils'
29- import { clientName , isAmazonQ } from '../../shared/extensionUtilities'
29+ import { oidcClientName , isAmazonQ } from '../../shared/extensionUtilities'
3030import { randomBytes , createHash } from 'crypto'
3131import { localize } from '../../shared/utilities/vsCodeUtils'
3232import { randomUUID } from '../../shared/crypto'
@@ -440,7 +440,7 @@ export class DeviceFlowAuthorization extends SsoAccessTokenProvider {
440440 override async registerClient ( ) : Promise < ClientRegistration > {
441441 return this . oidc . registerClient (
442442 {
443- clientName : clientName ( ) ,
443+ clientName : oidcClientName ( ) ,
444444 clientType : clientRegistrationType ,
445445 scopes : this . profile . scopes ,
446446 } ,
@@ -545,7 +545,7 @@ class AuthFlowAuthorization extends SsoAccessTokenProvider {
545545 return this . oidc . registerClient (
546546 {
547547 // All AWS extensions (Q, Toolkit) for a given IDE use the same client name.
548- clientName : clientName ( ) ,
548+ clientName : oidcClientName ( ) ,
549549 clientType : clientRegistrationType ,
550550 scopes : this . profile . scopes ,
551551 grantTypes : [ authorizationGrantType , refreshGrantType ] ,
@@ -654,7 +654,7 @@ class WebAuthorization extends SsoAccessTokenProvider {
654654 return this . oidc . registerClient (
655655 {
656656 // All AWS extensions (Q, Toolkit) for a given IDE use the same client name.
657- clientName : clientName ( ) ,
657+ clientName : oidcClientName ( ) ,
658658 clientType : clientRegistrationType ,
659659 scopes : this . profile . scopes ,
660660 grantTypes : [ authorizationGrantType , refreshGrantType ] ,
0 commit comments