mirror of
https://github.com/bitwarden/server
synced 2026-01-09 20:13:24 +00:00
feat(sso): [auth/pm-17719] Make SSO identifier errors consistent (#6345)
* feat(sso-account-controller): Make SSO identifiers consistent - align all return messages from prevalidate. * feat(shared-resources): Make SSO identifiers consistent - remove unused string resources, add new consistent error message. * feat(sso-account-controller): Make SSO identifiers consistent - Add logging.
This commit is contained in:
@@ -394,24 +394,9 @@
|
||||
<data name="InvalidSchemeConfigurationError" xml:space="preserve">
|
||||
<value>The configured authentication scheme is not valid: "{0}"</value>
|
||||
</data>
|
||||
<data name="NoSchemeOrHandlerForSsoConfigurationFoundError" xml:space="preserve">
|
||||
<value>No scheme or handler for this SSO configuration found.</value>
|
||||
</data>
|
||||
<data name="SsoNotEnabledForOrganizationError" xml:space="preserve">
|
||||
<value>SSO is not yet enabled for this organization.</value>
|
||||
</data>
|
||||
<data name="SsoConfigurationNotFoundForOrganizationError" xml:space="preserve">
|
||||
<value>No SSO configuration exists for this organization.</value>
|
||||
</data>
|
||||
<data name="SsoNotAllowedForOrganizationError" xml:space="preserve">
|
||||
<value>SSO is not allowed for this organization.</value>
|
||||
</data>
|
||||
<data name="OrganizationNotFoundByIdentifierError" xml:space="preserve">
|
||||
<value>Organization not found from identifier.</value>
|
||||
</data>
|
||||
<data name="NoOrganizationIdentifierProvidedError" xml:space="preserve">
|
||||
<value>No organization identifier provided.</value>
|
||||
</data>
|
||||
<data name="InvalidAuthenticationOptionsForSaml2SchemeError" xml:space="preserve">
|
||||
<value>Invalid authentication options provided to SAML2 scheme.</value>
|
||||
</data>
|
||||
@@ -691,4 +676,7 @@
|
||||
<data name="InvalidSsoRedirectToken" xml:space="preserve">
|
||||
<value>Single sign on redirect token is invalid or expired.</value>
|
||||
</data>
|
||||
<data name="SsoInvalidIdentifierError" xml:space="preserve">
|
||||
<value>Invalid SSO identifier</value>
|
||||
</data>
|
||||
</root>
|
||||
|
||||
Reference in New Issue
Block a user