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
Post a Comment