n8n/packages/cli/src
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
..
api refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
audit refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
auth refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
commands feat(core): Add SAML login setup (#5515) 2023-02-24 20:37:19 +01:00
CommunityNodes fix(core): Fix issues with community node installation (no-changelog) (#5481) 2023-02-15 16:09:53 +01:00
config feat(core): Add SAML login setup (#5515) 2023-02-24 20:37:19 +01:00
controllers feat(core): Add SAML login setup (#5515) 2023-02-24 20:37:19 +01:00
credentials refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
databases feat(core): Add SAML login setup (#5515) 2023-02-24 20:37:19 +01:00
decorators refactor(core): Switch over all user-management routes to use decorators (#5115) 2023-01-27 11:19:47 +01:00
eventbus refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
events refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
executions fix(core): Fix execution status filters (#5533) 2023-02-21 21:44:46 +01:00
Ldap refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
license refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
metrics refactor: Integrate consistent-type-imports in BE packages (no-changelog) (#5270) 2023-01-27 14:56:56 +01:00
middlewares feat(core): Add SAML login setup (#5515) 2023-02-24 20:37:19 +01:00
posthog refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
PublicApi refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
push refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
role refactor: Upgrade typeorm to 0.3.x (#5151) 2023-01-13 18:12:22 +01:00
sso feat(core): Add SAML login setup (#5515) 2023-02-24 20:37:19 +01:00
telemetry refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
user refactor: Integrate consistent-type-imports in BE packages (no-changelog) (#5270) 2023-01-27 14:56:56 +01:00
UserManagement feat: Support feature flag evaluation server side (#5511) 2023-02-21 11:35:35 +03:00
workflows refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
AbstractServer.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
ActiveExecutions.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
ActiveWebhooks.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
ActiveWorkflowRunner.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
constants.ts feat(core): Add saml feature flag (#5494) 2023-02-16 15:05:39 +01:00
CrashJournal.ts fix: Enable crash journal only in production mode (no-changelog) (#4948) 2022-12-16 15:27:49 +01:00
CredentialsHelper.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
CredentialsOverwrites.ts refactor(core): Load and validate all config at startup (no-changelog) (#5283) 2023-01-30 14:42:30 +01:00
CredentialTypes.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
curlconverter.d.ts refactor: Setup typescript project references across workflow, core, and cli (#4519) 2022-11-09 15:25:00 +01:00
CurlConverterHelper.ts refactor(core): fix for no-uncaught-json-parse warnings 2022-10-21 21:52:43 +03:00
Db.ts refactor(core): Load and validate all config at startup (no-changelog) (#5283) 2023-01-30 14:42:30 +01:00
ErrorReporting.ts refactor: Delete a lot of unused and duplicate code in Server and WebhookServer (#5080) 2023-01-04 11:38:48 +01:00
ExternalHooks.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
GenericHelpers.ts fix(core): User update endpoint should only allow updating email, firstName, and lastName (#5526) 2023-02-21 11:22:54 +01:00
index.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
Interfaces.ts fix(core): Fix execution status filters (#5533) 2023-02-21 21:44:46 +01:00
InternalHooks.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
jest.d.ts feat(core): Security audit (#5034) 2023-01-05 13:28:40 +01:00
License.ts feat(core): Add saml feature flag (#5494) 2023-02-16 15:05:39 +01:00
LoadNodesAndCredentials.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
Logger.ts refactor: Integrate consistent-type-imports in BE packages (no-changelog) (#5270) 2023-01-27 14:56:56 +01:00
NodeTypes.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
Queue.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
ReloadNodesAndCredentials.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
requests.ts fix(core): User update endpoint should only allow updating email, firstName, and lastName (#5526) 2023-02-21 11:22:54 +01:00
ResponseHelper.ts feat(core): Add SAML login setup (#5515) 2023-02-24 20:37:19 +01:00
Server.ts feat(core): Add SAML login setup (#5515) 2023-02-24 20:37:19 +01:00
sse-channel.d.ts feat(core): Add support for WebSockets as an alternative to Server-Sent Events (#5443) 2023-02-10 15:02:47 +01:00
TagHelpers.ts refactor: Upgrade typeorm to 0.3.x (#5151) 2023-01-13 18:12:22 +01:00
TestWebhooks.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
TranslationHelpers.ts fix(core): Do not allow arbitrary path traversal in the credential-translation endpoint (#5522) 2023-02-21 11:21:04 +01:00
utils.ts refactor(core): Delete duplicate code across all commands (#5452) 2023-02-10 14:59:20 +01:00
WaitingWebhooks.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
WaitTracker.ts fix(core): Fix execution status filters (#5533) 2023-02-21 21:44:46 +01:00
WebhookHelpers.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
WebhookServer.ts refactor: Delete a lot of unused and duplicate code in Server and WebhookServer (#5080) 2023-01-04 11:38:48 +01:00
WorkflowCredentials.ts refactor: Integrate consistent-type-imports in BE packages (no-changelog) (#5270) 2023-01-27 14:56:56 +01:00
WorkflowExecuteAdditionalData.ts fix(core): Fix execution pruning queries (#5562) 2023-02-24 18:02:34 +01:00
WorkflowHelpers.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
WorkflowRunner.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
WorkflowRunnerProcess.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00