-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi,
can you help me how to set custom ttl via configuration?
I tried to set it with:
oauth2.server:
grants:
authCode: false
clientCredentials:
ttl: 'PT10M'
implicit: false
password: true
refreshToken: true
but it doesn't work. But it seems it is possible to set a custom value. I found it in file: OAuth2ServerExtension:133
:
$ttl = $options->ttl ?? null;
I tried to debug it and $options
is not a object, but it is an array:
array
'authCode' => false
'clientCredentials' => array
'ttl' => 'PT10M'
'implicit' => false
'password' => true
'refreshToken' => true
Metadata
Metadata
Assignees
Labels
No labels