OAuth2 Server Bundle for Symfony
Via Composer
$ composer require borisguery/oauth2-server-bundle
bgy_o_auth2_server:
authorization_server:
storage:
access_token: oauth2.storage.access_token
client: oauth2.storage.client
refresh_token: oauth2.storage.refresh_token
token_generator: ~
always_generate_a_refresh_token: true
always_require_a_client: true
access_token_ttl: 3600
refresh_token_ttl: 3600
grant_types:
- oauth2.authorization_server.grant_types.password
- oauth2.authorization_server.grant_types.refresh_token
$ composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email guery.b@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.