-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(core): Remove unnecessary indirection in SAML code (no-chang…
…elog) (#9103)
- Loading branch information
Showing
5 changed files
with
70 additions
and
107 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,3 @@ | ||
export class SamlUrls { | ||
static readonly samlRESTRoot = '/rest/sso/saml'; | ||
|
||
static readonly initSSO = '/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 configTest = '/config/test'; | ||
|
||
static readonly configTestReturn = '/config/test/return'; | ||
|
||
static readonly configToggleEnabled = '/config/toggle'; | ||
|
||
static readonly defaultRedirect = '/'; | ||
|
||
static readonly samlOnboarding = '/saml/onboarding'; | ||
} | ||
|
||
export const SAML_PREFERENCES_DB_KEY = 'features.saml'; | ||
|
||
export const SAML_LOGIN_LABEL = 'sso.saml.loginLabel'; | ||
|
||
export const SAML_LOGIN_ENABLED = 'sso.saml.loginEnabled'; |
4 changes: 2 additions & 2 deletions
4
packages/cli/src/sso/saml/middleware/samlEnabledMiddleware.ts
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
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
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
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