genj / sso-client-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
Package info
github.com/genj/SsoClientBundle
Type:symfony-bundle
pkg:composer/genj/sso-client-bundle
dev-master
2015-06-08 12:49 UTC
Requires
- sensio/framework-extra-bundle: ~3.0
- symfony/symfony: >=2.5,<3.0-dev
This package is not auto-updated.
Last update: 2024-02-17 12:54:59 UTC
README
The client 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-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_server_url: http://webservice.dev/sso/command
genj_sso_client_broker_secret: 6I3xRWQ4MAMppTvO3nm5
Add the following pararmeters to your config.yml
genj_sso_client:
broker_identifier: ABrokerIdentifierKnownOnTheServer
broker_secret: SomeVerySecretKey
server_url: %genj_sso_client_server_url% # Replace
Add the following routes to your routing.yml
genj_sso_client_login:
pattern: /login
defaults: { _controller: GenjSsoClientBundle:Login:index }
genj_sso_client_logout:
pattern: /logout
defaults: { _controller: GenjSsoClientBundle:Login:logout }