foreverglory / oauth-bundle
Symfony OAuth
Installs: 16
Dependents: 0
Suggesters: 1
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Type:symfony-bundle
Requires
- hwi/oauth-bundle: ~0.4
- symfony/symfony: ~2.3
This package is not auto-updated.
Last update: 2024-11-09 19:24:11 UTC
README
composer require foreverglory/oauth-bundle
//app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Glory\Bundle\OAuthBundle\GloryOAuthBundle(), // ... ); }
#app/config/config.yml glory_oauth: oauth_class: ~ connect: ~ owners: qq: type: qq client_id: %qq_id% client_secret: %qq_secret% # ...
#app/config/routing.yml glory_oauth: resource: "@GloryOAuthBundle/Resources/config/routing.yml" prefix: /
#app/config/security.yml security: firewalls: main: oauth: login_path: /login check_path: /connect/{service}/callback # or router name: glory_oauth_callback