mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
* 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>
26 lines
675 B
TypeScript
26 lines
675 B
TypeScript
export class SamlUrls {
|
|
static readonly samlRESTRoot = '/rest/sso/saml';
|
|
|
|
static readonly initSSO = '/initsso';
|
|
|
|
static readonly restInitSSO = this.samlRESTRoot + this.initSSO;
|
|
|
|
static readonly acs = '/acs';
|
|
|
|
static readonly restAcs = this.samlRESTRoot + this.acs;
|
|
|
|
static readonly metadata = '/metadata';
|
|
|
|
static readonly restMetadata = this.samlRESTRoot + this.metadata;
|
|
|
|
static readonly config = '/config';
|
|
|
|
static readonly restConfig = this.samlRESTRoot + this.config;
|
|
|
|
static readonly defaultRedirect = '/';
|
|
|
|
static readonly samlOnboarding = '/settings/personal'; // TODO:SAML: implement signup page
|
|
}
|
|
|
|
export const SAML_PREFERENCES_DB_KEY = 'features.saml';
|