1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

Added SP ACS URL to Config Screen (#920)

This commit is contained in:
Chad Scharf
2020-09-08 13:04:26 -04:00
committed by GitHub
parent 6574d083fe
commit a997440e3d
4 changed files with 17 additions and 0 deletions

View File

@ -53,6 +53,11 @@ namespace Bit.Core.Models.Data
return BuildSsoUrl(_saml2ModulePath, ssoUri);
}
public string BuildSaml2AcsUrl(string ssoUri = null)
{
return string.Concat(BuildSaml2ModulePath(ssoUri), "/Acs");
}
private string BuildSsoUrl(string relativePath, string ssoUri)
{
if (string.IsNullOrWhiteSpace(ssoUri) ||

View File

@ -265,6 +265,9 @@
<data name="SpEntityId" xml:space="preserve">
<value>SP Entity ID</value>
</data>
<data name="SpAcsUrl" xml:space="preserve">
<value>Assertion Consumer Service (ACS) URL</value>
</data>
<data name="SpValidateCertificates" xml:space="preserve">
<value>Validate Certificates</value>
</data>