mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 07:13:32 +00:00
[PM-5149] UI for unique SP entity id on organization sso configs (#7117)
* add ui for making sp entity id unique * pretty * updates
This commit is contained in:
@@ -30,6 +30,7 @@ export class SsoConfigApi extends BaseResponse {
|
||||
api.acrValues = view.openId.acrValues;
|
||||
api.expectedReturnAcrValue = view.openId.expectedReturnAcrValue;
|
||||
} else if (api.configType === SsoType.Saml2) {
|
||||
api.spUniqueEntityId = view.saml.spUniqueEntityId;
|
||||
api.spNameIdFormat = view.saml.spNameIdFormat;
|
||||
api.spOutboundSigningAlgorithm = view.saml.spOutboundSigningAlgorithm;
|
||||
api.spSigningBehavior = view.saml.spSigningBehavior;
|
||||
@@ -72,6 +73,7 @@ export class SsoConfigApi extends BaseResponse {
|
||||
expectedReturnAcrValue: string;
|
||||
|
||||
// SAML
|
||||
spUniqueEntityId: boolean;
|
||||
spNameIdFormat: Saml2NameIdFormat;
|
||||
spOutboundSigningAlgorithm: string;
|
||||
spSigningBehavior: Saml2SigningBehavior;
|
||||
@@ -113,6 +115,7 @@ export class SsoConfigApi extends BaseResponse {
|
||||
this.acrValues = this.getResponseProperty("AcrValues");
|
||||
this.expectedReturnAcrValue = this.getResponseProperty("ExpectedReturnAcrValue");
|
||||
|
||||
this.spUniqueEntityId = this.getResponseProperty("SpUniqueEntityId");
|
||||
this.spNameIdFormat = this.getResponseProperty("SpNameIdFormat");
|
||||
this.spOutboundSigningAlgorithm = this.getResponseProperty("SpOutboundSigningAlgorithm");
|
||||
this.spSigningBehavior = this.getResponseProperty("SpSigningBehavior");
|
||||
|
||||
@@ -23,6 +23,7 @@ class SsoUrls extends BaseResponse {
|
||||
callbackPath: string;
|
||||
signedOutCallbackPath: string;
|
||||
spEntityId: string;
|
||||
spEntityIdStatic: string;
|
||||
spMetadataUrl: string;
|
||||
spAcsUrl: string;
|
||||
|
||||
@@ -31,6 +32,7 @@ class SsoUrls extends BaseResponse {
|
||||
this.callbackPath = this.getResponseProperty("CallbackPath");
|
||||
this.signedOutCallbackPath = this.getResponseProperty("SignedOutCallbackPath");
|
||||
this.spEntityId = this.getResponseProperty("SpEntityId");
|
||||
this.spEntityIdStatic = this.getResponseProperty("SpEntityIdStatic");
|
||||
this.spMetadataUrl = this.getResponseProperty("SpMetadataUrl");
|
||||
this.spAcsUrl = this.getResponseProperty("SpAcsUrl");
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@ export class SsoConfigView extends View {
|
||||
};
|
||||
|
||||
saml: {
|
||||
spUniqueEntityId: boolean;
|
||||
spNameIdFormat: Saml2NameIdFormat;
|
||||
spOutboundSigningAlgorithm: string;
|
||||
spSigningBehavior: Saml2SigningBehavior;
|
||||
@@ -88,6 +89,7 @@ export class SsoConfigView extends View {
|
||||
};
|
||||
} else if (this.configType === SsoType.Saml2) {
|
||||
this.saml = {
|
||||
spUniqueEntityId: orgSsoResponse.data.spUniqueEntityId,
|
||||
spNameIdFormat: orgSsoResponse.data.spNameIdFormat,
|
||||
spOutboundSigningAlgorithm: orgSsoResponse.data.spOutboundSigningAlgorithm,
|
||||
spSigningBehavior: orgSsoResponse.data.spSigningBehavior,
|
||||
|
||||
Reference in New Issue
Block a user