2023-02-24 11:37:19 -08:00
|
|
|
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';
|
|
|
|
|
2023-03-03 01:19:43 -08:00
|
|
|
static readonly configTest = '/config/test';
|
|
|
|
|
|
|
|
static readonly configToggleEnabled = '/config/toggle';
|
|
|
|
|
2023-02-24 11:37:19 -08:00
|
|
|
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';
|
2023-03-02 00:00:51 -08:00
|
|
|
|
2023-03-29 09:00:29 -07:00
|
|
|
export const SAML_ENTERPRISE_FEATURE_ENABLED = 'enterprise.features.saml';
|
|
|
|
|
2023-03-02 00:00:51 -08:00
|
|
|
export const SAML_LOGIN_LABEL = 'sso.saml.loginLabel';
|
|
|
|
|
|
|
|
export const SAML_LOGIN_ENABLED = 'sso.saml.loginEnabled';
|