Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added support for saml login (#1408)
- Loading branch information
1 parent
3ff46e0
commit 6a53357
Showing
47 changed files
with
2,278 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
services: | ||
|
||
# ================================================================================ | ||
# SAML | ||
# ================================================================================ | ||
|
||
App\Saml\SamlAuth: | ||
alias: onelogin_auth | ||
|
||
OneLogin\Saml2\Auth: | ||
alias: onelogin_auth | ||
|
||
onelogin_auth: | ||
class: App\Saml\SamlAuth | ||
arguments: ['@request_stack', '%kimai.saml.connection%'] | ||
|
||
App\Saml\User\SamlUserFactory: | ||
arguments: ['%kimai.saml%'] | ||
|
||
kimai.saml_listener: | ||
class: Hslavich\OneloginSamlBundle\Security\Firewall\SamlListener | ||
parent: security.authentication.listener.abstract | ||
abstract: true | ||
calls: | ||
- [setOneLoginAuth, ["@onelogin_auth"]] | ||
|
||
App\Saml\Provider\SamlProvider: | ||
arguments: ['@App\Repository\UserRepository', '', '@App\Saml\SamlTokenFactory', '@App\Saml\User\SamlUserFactory'] | ||
|
||
App\Saml\Security\SamlAuthenticationSuccessHandler: | ||
parent: security.authentication.success_handler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.