You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/credentials/sso/SsoAccessTokenProvider.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -345,7 +345,7 @@ class SsoAccessTokenProvider(
345
345
result:Result
346
346
) {
347
347
val tokenCreationTime = currentToken.createdAt
348
-
val sessionDuration =Duration.between(Instant.now(clock), tokenCreationTime)
348
+
val sessionDuration =Duration.between(tokenCreationTime, Instant.now(clock))
349
349
val credentialSourceId =if (currentToken.ssoUrl ==SONO_URL) CredentialSourceId.AwsIdelseCredentialSourceId.IamIdentityCenter
0 commit comments