webnet/sso-auth-bundle

SSO authentication your Symfony2 project

Installs: 11 653

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 76

Type:symfony-bundle

v1.0.6 2018-06-26 14:02 UTC

This package is not auto-updated.

Last update: 2024-05-11 17:17:42 UTC


README

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