dev-master
9999999-devGenj Single Sign-On Client bundle
The Requires
by Choong Wei Tjeng
by Nico Kaag
by Susan Lau
bundle symfony client sso single sign-on genj
Wallogit.com
2017 © Pedro Peláez
Genj Single Sign-On Client bundle
The client side bundle to add Single Sign-On login functionality to your site, (*1)
Add the bundle to your composer.json, (*2)
"require": {
...
"genj/sso-client-bundle": "dev-master"
}
Add the bundle to your AppKernel.php, (*3)
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, (*4)
genj_sso_client_server_url: http://webservice.dev/sso/command
genj_sso_client_broker_secret: 6I3xRWQ4MAMppTvO3nm5
Add the following pararmeters to your config.yml, (*5)
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, (*6)
genj_sso_client_login:
pattern: /login
defaults: { _controller: GenjSsoClientBundle:Login:index }
genj_sso_client_logout:
pattern: /logout
defaults: { _controller: GenjSsoClientBundle:Login:logout }
Genj Single Sign-On Client bundle
bundle symfony client sso single sign-on genj