This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
There is no license information available for the latest version (dev-master) of this package.

Genj Single Sign-On Client bundle

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 7

Forks: 0

Open Issues: 0


dev-master 2015-06-08 12:49 UTC

This package is not auto-updated.

Last update: 2021-09-18 00:11:20 UTC


The client side bundle to add Single Sign-On login functionality to your site


  • Curl


Add the bundle to your composer.json

"require": {
    "genj/sso-client-bundle": "dev-master"

Add the bundle to your AppKernel.php

public function registerBundles() {
        $bundles = array(
            new Genj\SsoClientBundle\GenjSsoClientBundle(),

Make sure you have set the following parameters in your parameters.yml. During the composer install it will prompt you for these settings. the server url should be the full domain, including the base path of your SSO Server routings

    genj_sso_client_broker_secret: 6I3xRWQ4MAMppTvO3nm5

Add the following pararmeters to your config.yml

    broker_identifier: ABrokerIdentifierKnownOnTheServer
    broker_secret: SomeVerySecretKey
    server_url: %genj_sso_client_server_url% # Replace 

Add the following routes to your routing.yml

    pattern:  /login
    defaults: { _controller: GenjSsoClientBundle:Login:index }

    pattern:  /logout
    defaults: { _controller: GenjSsoClientBundle:Login:logout }