Skip to content

Commit 71bdffc

Browse files
bugBash: add diffInt metric to aws_loginWithBrowser
Signed-off-by: nkomonen-amazon <[email protected]>
1 parent c138cb2 commit 71bdffc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/auth/sso/ssoAccessTokenProvider.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ export abstract class SsoAccessTokenProvider {
256256
awsRegion: this.profile.region,
257257
ssoRegistrationExpiresAt: args?.registrationExpiresAt,
258258
ssoRegistrationClientId: args?.registrationClientId,
259+
sessionDuration: getSessionDuration(this.tokenCacheKey),
259260
})
260261

261262
// Reset source in case there is a case where browser login was called but we forgot to set the source.

0 commit comments

Comments
 (0)