genj/sso-server-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (dev-master) of this package.

Genj Single Sign-On Client bundle

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 6

Forks: 0

Open Issues: 0

Type:symfony-bundle

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

This package is not auto-updated.

Last update: 2024-02-17 13:18:24 UTC


README

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

Requirements

  • Curl

Installation

Add the bundle to your composer.json

"require": {
    ...
    "genj/sso-server-bundle": "dev-master"
}

Add the bundle to your AppKernel.php

public function registerBundles() {
        $bundles = array(
            ...
            new Genj\SsoServerBundle\GenjSsoServerBundle(),
        );

Add the following pararmeters to your config.yml

genj_sso_server:
    brokers:
        SPECIALNAME:
            secret: SUPERSECRETTOKEN

Add the following routes to your routing.yml

genj_sso_server_command_attach:
    pattern:  /sso/command/attach
    defaults: { _controller: GenjSsoServerBundle:Sso:attach }

genj_sso_server_command_info:
    pattern:  /sso/command/info
    defaults: { _controller: GenjSsoServerBundle:Sso:info }

genj_sso_server_command_login:
    pattern:  /sso/command/login
    defaults: { _controller: GenjSsoServerBundle:Sso:login }

genj_sso_server_command_logout:
    pattern:  /sso/command/logout
    defaults: { _controller: GenjSsoServerBundle:Sso:logout }