Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore update access duration (#6992)
Danny Xu60baaa8a4143
diff --git a/backend/api/auth/auth.go b/backend/api/auth/auth.goindex 22bab358da..affab5a21b 100644--- a/backend/api/auth/auth.go+++ b/backend/api/auth/auth.go@@ -35,7 +35,7 @@ const (// MFATempTokenAudienceFmt is the format of the MFA temp token audience.MFATempTokenAudienceFmt = "bb.user.mfa-temp.%s"apiTokenDuration = 2 * time.Hour- accessTokenDuration = 24 * time.Hour+ accessTokenDuration = 8 * time.HourrefreshTokenDuration = 7 * 24 * time.Hour// RefreshThresholdDuration is the threshold duration for refreshing token.RefreshThresholdDuration = 1 * time.Hour