Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration of Symfony custom's user checker #205

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

soufianZantar
Copy link

To check if my users in DB can login to the SAML or not, i use a custom symfony user checker https://symfony.com/doc/current/security/user_checkers.html. Today i can't config OneloginSamlBundle to add my user checker to Saml provider like GuardAuthenticationProvider and other providers that i use.

This PR will permits to integrate a user checker (implements Symfony UserCheckerInterface) in saml provider if it's configured like that :


     users_saml:
             saml:
                check_path: saml_acs
                login_path: saml_login
                failure_path: '/saml/error'
                default_target_path: '/agent'
                user_factory: saml_user_factory
                user_checker: App\Security\Checker\UserChecker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant