File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -319,15 +319,15 @@ end
319319
320320-- Return access_token expires_in value (in seconds).
321321local function authz_keycloak_access_token_expires_in (conf , expires_in )
322- return (expires_in or conf .access_token_expires_in or 300 )
323- - 1 - (conf .access_token_expires_leeway or 0 )
322+ return (expires_in or conf .access_token_expires_in )
323+ - 1 - (conf .access_token_expires_leeway )
324324end
325325
326326
327327-- Return refresh_token expires_in value (in seconds).
328328local function authz_keycloak_refresh_token_expires_in (conf , expires_in )
329- return (expires_in or conf .refresh_token_expires_in or 3600 )
330- - 1 - (conf .refresh_token_expires_leeway or 0 )
329+ return (expires_in or conf .refresh_token_expires_in )
330+ - 1 - (conf .refresh_token_expires_leeway )
331331end
332332
333333
You can’t perform that action at this time.
0 commit comments