Michael Auerswald
25fe14be56
fix(core): Remove SAML config metadataUrl if XML metadata is set directly ( #6143 )
...
remove metadataUrl if metadata is set directly
2023-05-02 11:22:34 +02:00
कारतोफ्फेलस्क्रिप्ट™
308a94311f
refactor: Async functions don't need to explicitly return promises (no-changelog) ( #6041 )
2023-04-24 13:17:08 +02:00
Michael Auerswald
71ed1f410c
feat(core): Add SSH key generation ( #6006 )
...
* basic prefs and ssh key generation
* review change
* cleanup save
* lint fix
2023-04-19 17:46:10 +02:00
Michael Auerswald
4c994faec1
fix(core): Improve SAML connection test result views ( #5981 )
...
* improve test result views
* refactor
* lint fix
2023-04-14 15:49:10 +02:00
Michael Auerswald
8474cd386d
fix(core): Skip SAML onboarding for users with first- and lastname ( #5966 )
...
skip onboarding for users with first- and lastname
2023-04-13 10:09:50 +02:00
कारतोफ्फेलस्क्रिप्ट™
10f8c35dbb
refactor(core): Use injectable classes for db repositories (part-1) (no-changelog) ( #5953 )
...
Co-authored-by: ricardo <ricardoespinoza105@gmail.com >
2023-04-12 10:59:14 +02:00
Csaba Tuncsik
f4e59499fc
feat(editor): SSO setup ( #5736 )
...
* feat(editor): SSO settings page
* feat(editor): SSO settings page
* feat(editor): SSO settings page
* feat(editor): SSO settings page
* feat(editor): SSO settings page
* feat(editor): SSO settings page
* Merge remote-tracking branch 'origin/master' into pay-170-sso-set-up-page
# Conflicts:
# packages/cli/src/sso/saml/routes/saml.controller.ee.ts
* feat(editor): Prevent SSO settings page route
* feat(editor): some UI improvements
* fix(editor): SSO settings saml config optional chaining
* fix return values saml controller
* fix(editor): drop dompurify
* fix(editor): save xml as is
* return authenticationMethod with settings
* fix(editor): add missing prop to server
* chore(editor): code formatting
* fix ldap/saml enable toggle endpoint
* fix missing import
* prevent faulty ldap setting from breaking startup
* remove sso fake-door from users page
* fix(editor): update SSO settings route permissions + unit testing
* fix(editor): update vite config for test
* fix(editor): add paddings to SSO settings page buttons, add translation
* fix(editor): fix saml unit test
* fix(core): Improve saml test connection function (#5899 )
improve-saml-test-connection return
---------
Co-authored-by: Michael Auerswald <michael.auerswald@gmail.com >
Co-authored-by: Romain Minaud <romain.minaud@gmail.com >
2023-04-04 14:28:29 +02:00
Michael Auerswald
4498c6013d
fix(core): Persist CurrentAuthenticationMethod setting change ( #5762 )
...
* limit user invites when saml is enabled
* persist CurrentAuthenticationMethod
2023-03-23 15:13:05 +01:00
कारतोफ्फेलस्क्रिप्ट™
9bd7529193
refactor(core): Use an IoC container to manage singleton classes [Part-2] (no-changelog) ( #5690 )
...
* use typedi for UserManagementMailer
* use typedi for SamlService
* fix typos
* use typedi for Queue
* use typedi for License
* convert some more code to use typedi
2023-03-16 15:34:13 +01:00
Michael Auerswald
c6ba0bd8de
feat(core): Convert saml controller to decorator style ( #5653 ) (no-changelog)
2023-03-10 19:19:52 +01:00
Michael Auerswald
6f27b445ca
feat(core): Refactor and add SAML preferences for service provider instance ( #5637 )
...
* create SP through parameters instead of metadata
* refactor SAML prefs and add SP configurations
2023-03-09 09:08:23 +01:00
Michael Auerswald
ca66ec8f4d
feat(core): Add SAML XML validation ( #5600 )
...
* consolidate SSO settings
* update saml settings
* fix type error
* limit user changes when saml is enabled
* add test
* add toggle endpoint and fetch metadata
* rename enabled param
* add handling of POST saml login request
* add config test endpoint
* adds saml XML validation
* add comment
* protect test endpoint
* improve ignoreSSL and some cleanup
* fix wrong schema used
* remove console.log
2023-03-06 09:44:25 +01:00
Michael Auerswald
523fa71705
feat(core): Add SAML post and test endpoints ( #5595 )
...
* consolidate SSO settings
* update saml settings
* fix type error
* limit user changes when saml is enabled
* add test
* add toggle endpoint and fetch metadata
* rename enabled param
* add handling of POST saml login request
* add config test endpoint
2023-03-03 10:19:43 +01:00
Michael Auerswald
31cc8de829
feat(core): Add SAML settings and consolidate LDAP under SSO ( #5574 )
...
* consolidate SSO settings
* update saml settings
* fix type error
2023-03-02 09:00:51 +01:00
Michael Auerswald
40a934bbb4
feat(core): Add SAML login setup ( #5515 )
...
* initial commit with sample data
* basic saml setup
* cleanup console logs
* limit saml endpoints through middleware
* basic login and token issue
* saml service and cleanup
* refactor and create user
* get/set saml prefs
* fix authentication issue
* redirect to user details
* merge fix
* add generated password to saml user
* update user from attributes where possible
* refactor and fix creating new user
* rename saml prefs key
* minor cleanup
* Update packages/cli/src/config/schema.ts
Co-authored-by: Omar Ajoue <krynble@gmail.com >
* Update packages/cli/src/config/schema.ts
Co-authored-by: Omar Ajoue <krynble@gmail.com >
* Update packages/cli/src/controllers/auth.controller.ts
Co-authored-by: Omar Ajoue <krynble@gmail.com >
* code review changes
* fix default saml enabled
* remove console.log
* fix isSamlLicensed
---------
Co-authored-by: Omar Ajoue <krynble@gmail.com >
2023-02-24 20:37:19 +01:00