mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-29 06:19:32 +00:00
Allow to automatically assign SAML users to a group based on SAML attributes
This commit is contained in:
parent
6a06a24296
commit
5e85c52a57
6 changed files with 151 additions and 11 deletions
|
|
@ -128,7 +128,13 @@ services:
|
|||
####################################################################################################################
|
||||
|
||||
saml_user_factory:
|
||||
class: App\Security\SamlUserFactory
|
||||
alias: App\Security\SamlUserFactory
|
||||
public: true
|
||||
|
||||
App\Security\SamlUserFactory:
|
||||
arguments:
|
||||
$saml_role_mapping: '%env(json:SAML_ROLE_MAPPING)%'
|
||||
$update_group_on_login: '%env(bool:SAML_UPDATE_GROUP_ON_LOGIN)%'
|
||||
|
||||
####################################################################################################################
|
||||
# Cache
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue