lightSAML / SpBundle

SAML2 SP Symfony Bundle based on LightSAML
https://www.lightsaml.com/SP-Bundle/
MIT License
66 stars 70 forks source link

switch_user not working #65

Open eluus opened 6 years ago

eluus commented 6 years ago

Since I use this bundle (which is working fine), switch_user is not working, I got an error ERR_TOO_MANY_REDIRECTS.

My configuration :

firewalls:
        dev:
            pattern: ^/(_(profiler|wdt)|css|images|js)/
            security: false

        secured_area:
            switch_user: true
            light_saml_sp:
                provider: db_provider       
                login_path: /saml/login
                check_path: /saml/login_check
                failure_handler: auth_fail
                success_handler: login_handler
            logout:
                path: lightsaml_sp.logout
                target: /
                invalidate_session: false
            anonymous: ~