Skip to content

Commit e1242e8

Browse files
Merge master into feature/hybridChat
2 parents a7aa25c + 7afbc71 commit e1242e8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/amazonq/src/extensionNode.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@ async function getAuthState(): Promise<Omit<AuthUserState, 'source'>> {
129129
getLogger().error(`Current Amazon Q connection is not SSO, type is: %s`, currConn?.type)
130130
}
131131

132+
// Pending profile selection state means users already log in with Sso service
133+
if (authState === 'pendingProfileSelection') {
134+
authState = 'connected'
135+
}
136+
132137
return {
133138
authStatus:
134139
authState === 'connected' || authState === 'expired' || authState === 'connectedWithNetworkError'

0 commit comments

Comments
 (0)