namespace Bit.Identity.IdentityServer.RequestValidationConstants; public static class CustomResponseConstants { public static class ResponseKeys { /// /// Identifies the error model returned in the custom response when an error occurs. /// public static string ErrorModel => "ErrorModel"; /// /// This Key is used when a user is in a single organization that requires SSO authentication. The identifier /// is used by the client to speed the redirection to the correct IdP for the user's organization. /// public static string SsoOrganizationIdentifier => "SsoOrganizationIdentifier"; } } public static class SsoConstants { /// /// These are messages and errors we return when SSO Validation is unsuccessful /// public static class RequestErrors { public static string SsoRequired => "sso_required"; public static string SsoRequiredDescription => "Sso authentication is required."; public static string SsoTwoFactorRecoveryDescription => "Two-factor recovery has been performed. SSO authentication is required."; } }