forked from Velocidex/velociraptor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support automatic user creation with SAML authentication (Velocidex#3551
) With this change we are able to automatically create users for SAML authenticated users and assign them roles. Before this change, users had to be created manually on the velociraptor server, even when using SAML authentication, which lead to double book keeping. Based on the work in the certs authenticator module: - https://github.com/Velocidex/velociraptor/blob/858e2e4a1c597c9dfd1d0389f84ac2186eb3bae7/api/authenticators/certs.go#L168-L223 Instead of reusing the gui.authenticator.default_roles_for_unknown_users field we introduced a new saml_user_roles field to ensure privilege separation between gui users and client certificates. Co-authored-by: Deniz Adrian <[email protected]>
- Loading branch information
1 parent
38ec5be
commit 66960c3
Showing
5 changed files
with
1,038 additions
and
956 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
Oops, something went wrong.