Skip to content

foreverglory/oauth-bundle

Repository files navigation

GloryOAuthBundle

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

About

Symfony OAuthBundle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published