symfony - FOSOAuthServerBundle access_token life time -


if looking how change access_token life time (expires_in) fosoauthserverbundle here how it:

fos_oauth_server:     service:         user_provider: fos_user.user_manager         options:             access_token_lifetime: 20 #will set token life time 20 seconds 

this way have possibility change other options of oauth2.0 library used fosoauthserverbundle.

hope post saves someone's time ;) have nice time other important tasks , improvements ;) enjoy

is in official documentation: https://github.com/friendsofsymfony/fosoauthserverbundle/blob/master/resources/doc/configuration_reference.md


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -