Skip to content

SSO authentication providers (Cas for now) for Symfony2|3

Notifications You must be signed in to change notification settings

webnet-fr/WebnetSsoAuthBundle

This branch is 26 commits ahead of, 13 commits behind BeSimple/BeSimpleSsoAuthBundle:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

28578c1 · Jun 26, 2018
Apr 26, 2018
Sep 27, 2017
Jun 26, 2018
Jan 18, 2016
Jun 26, 2018
Jan 18, 2016
Jun 26, 2018
Jun 26, 2018
Sep 19, 2012
Sep 19, 2012
Jan 29, 2016
Jan 29, 2016
Jan 18, 2016
Jun 21, 2018
Sep 19, 2012

Repository files navigation

SSO authentication for Symfony2

This bundle helps you to bring SSO authentication to your Symfony2 project.

It works in two ways:

  • trusted: authentication is done against a known server (like with CAS)
  • open: authentication is done with server of user's choice (like with OpenId)

Only CAS protocol is implemented for now, many other are planned.

This plugin is based on BeSimpleSsoAuthBundle.

It only adds the ability to connect to CAS using the SAML_VERSION_1_1 for CAS

In order to activate this mode, use the following configuration:

webnet_sso_auth:
    provider_id:
        protocol:
            id: cas
            version: 3 #important
        server:
            id: cas
            login_url: [LOGIN_URL]
            logout_url: [LOGOUT_URL]
            validation_url: [VALIDATION_URL]
paramerters:
    webnet.sso_auth.client.option.cas_host.value: [CAS_HOST]
    webnet.sso_auth.client.option.cas_port.value: [CAS_PORT]
    webnet.sso_auth.client.option.cas_context.value: [CAS_CONTEXT] #usually '/cas'
    webnet.sso_auth.client.class: Webnet\SsoAuthBundle\Buzz\CasClient
    webnet.sso_auth.protocol.cas.class: Webnet\SsoAuthBundle\Sso\Cas\SamlProtocol

About

SSO authentication providers (Cas for now) for Symfony2|3

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 98.1%
  • HTML 1.9%