Merge branch '16678-login-tokens-lifetime-config'
[arvados.git] / lib / config / config.default.yml
index f84c60192f2854571292dc05c466ab40b66d71ec..6c47a068e98a4c9612e3fe55f69cd9f2d7bdac6b 100644 (file)
@@ -708,6 +708,11 @@ Clusters:
       # remain valid before it needs to be revalidated.
       RemoteTokenRefresh: 5m
 
+      # How long a client token created from a login flow will be valid without
+      # asking the user to re-login. Example values: 60m, 8h.
+      # Default value zero means tokens don't have expiration.
+      TokenLifetime: 0s
+
     Git:
       # Path to git or gitolite-shell executable. Each authenticated
       # request will execute this program with the single argument "http-backend"