@@ -108,15 +108,12 @@ export class Config {
108108 Config . cache_store_redis_port = parseInt ( Config . getEnv ( "cache_store_redis_port" , "6379" ) ) ;
109109 Config . cache_store_redis_password = Config . getEnv ( "cache_store_redis_password" , "" ) ;
110110
111- Config . oidc_access_token_ttl = parseInt ( Config . getEnv ( "oidc_access_token_ttl" , "28800" ) ) ;
112- Config . oidc_authorization_code_ttl = parseInt ( Config . getEnv ( "oidc_authorization_code_ttl" , "28800" ) ) ;
113- Config . oidc_client_credentials_ttl = parseInt ( Config . getEnv ( "oidc_client_credentials_ttl" , "28800" ) ) ;
114- Config . oidc_refresh_token_ttl = parseInt ( Config . getEnv ( "oidc_refresh_token_ttl" , "1209600" ) ) ;
115- Config . oidc_session_ttl = parseInt ( Config . getEnv ( "oidc_session_ttl" , "1209600" ) ) ;
116-
117- Config . oauth_token_cache_seconds = parseInt ( Config . getEnv ( "oauth_token_cache_seconds" , "60000" ) ) ;
118- Config . oauth_access_token_lifetime = parseInt ( Config . getEnv ( "oauth_access_token_lifetime" , "604800" ) ) ;
119- Config . oauth_refresh_token_lifetime = parseInt ( Config . getEnv ( "oauth_refresh_token_lifetime" , "604800" ) ) ;
111+ Config . oidc_access_token_ttl = parseInt ( Config . getEnv ( "oidc_access_token_ttl" , "480" ) ) ;
112+ Config . oidc_authorization_code_ttl = parseInt ( Config . getEnv ( "oidc_authorization_code_ttl" , "480" ) ) ;
113+ Config . oidc_client_credentials_ttl = parseInt ( Config . getEnv ( "oidc_client_credentials_ttl" , "480" ) ) ;
114+ Config . oidc_refresh_token_ttl = parseInt ( Config . getEnv ( "oidc_refresh_token_ttl" , "20160" ) ) ;
115+ Config . oidc_session_ttl = parseInt ( Config . getEnv ( "oidc_session_ttl" , "20160" ) ) ;
116+
120117 Config . api_rate_limit = Config . parseBoolean ( Config . getEnv ( "api_rate_limit" , "true" ) ) ;
121118 Config . api_rate_limit_points = parseInt ( Config . getEnv ( "api_rate_limit_points" , "60" ) ) ;
122119 Config . api_rate_limit_duration = parseInt ( Config . getEnv ( "api_rate_limit_duration" , "1" ) ) ;
@@ -293,15 +290,12 @@ export class Config {
293290 public static cache_store_redis_port : number = parseInt ( Config . getEnv ( "cache_store_redis_port" , "6379" ) ) ;
294291 public static cache_store_redis_password : string = Config . getEnv ( "cache_store_redis_password" , "" ) ;
295292
296- public static oidc_access_token_ttl : number = parseInt ( Config . getEnv ( "oidc_access_token_ttl" , "28800 " ) ) ; // 8 hours
297- public static oidc_authorization_code_ttl : number = parseInt ( Config . getEnv ( "oidc_authorization_code_ttl" , "28800 " ) ) ; // 8 hours
298- public static oidc_client_credentials_ttl : number = parseInt ( Config . getEnv ( "oidc_client_credentials_ttl" , "28800 " ) ) ; // 8 hours
299- public static oidc_refresh_token_ttl : number = parseInt ( Config . getEnv ( "oidc_refresh_token_ttl" , "1209600 " ) ) ; // 14 days in seconds
300- public static oidc_session_ttl : number = parseInt ( Config . getEnv ( "oidc_session_ttl" , "1209600 " ) ) ; // 14 days in seconds
293+ public static oidc_access_token_ttl : number = parseInt ( Config . getEnv ( "oidc_access_token_ttl" , "480 " ) ) ; // 8 hours
294+ public static oidc_authorization_code_ttl : number = parseInt ( Config . getEnv ( "oidc_authorization_code_ttl" , "480 " ) ) ; // 8 hours
295+ public static oidc_client_credentials_ttl : number = parseInt ( Config . getEnv ( "oidc_client_credentials_ttl" , "480 " ) ) ; // 8 hours
296+ public static oidc_refresh_token_ttl : number = parseInt ( Config . getEnv ( "oidc_refresh_token_ttl" , "20160 " ) ) ; // 14 days in seconds
297+ public static oidc_session_ttl : number = parseInt ( Config . getEnv ( "oidc_session_ttl" , "20160 " ) ) ; // 14 days in seconds
301298
302- public static oauth_token_cache_seconds : number = parseInt ( Config . getEnv ( "oauth_token_cache_seconds" , "60000" ) ) ;
303- public static oauth_access_token_lifetime : number = parseInt ( Config . getEnv ( "oauth_access_token_lifetime" , "604800" ) ) ;
304- public static oauth_refresh_token_lifetime : number = parseInt ( Config . getEnv ( "oauth_refresh_token_lifetime" , "604800" ) ) ;
305299 public static oidc_cookie_key : string = Config . getEnv ( "oidc_cookie_key" , "Y6SPiXCxDhAJbN7cbydMw5eX1wIrdy8PiWApqEcguss=" ) ;
306300 public static api_rate_limit : boolean = Config . parseBoolean ( Config . getEnv ( "api_rate_limit" , "true" ) ) ;
307301 public static api_rate_limit_points : number = parseInt ( Config . getEnv ( "api_rate_limit_points" , "20" ) ) ;
0 commit comments