KEYCLOAK-1833 Fix error messages for identity brokering
This commit is contained in:
parent
3fd4d23bed
commit
fb4645a3dc
5 changed files with 45 additions and 45 deletions
22
forms/common-themes/src/main/resources/theme/base/login/messages/messages_de.properties
Executable file → Normal file
22
forms/common-themes/src/main/resources/theme/base/login/messages/messages_de.properties
Executable file → Normal file
|
@ -168,24 +168,24 @@ registrationNotAllowedMessage=Registrierung nicht erlaubt.
|
||||||
resetCredentialNotAllowedMessage=Reset Credential not allowed
|
resetCredentialNotAllowedMessage=Reset Credential not allowed
|
||||||
|
|
||||||
permissionNotApprovedMessage=Berechtigung nicht best\u00E4tigt.
|
permissionNotApprovedMessage=Berechtigung nicht best\u00E4tigt.
|
||||||
noRelayStateInResponseMessage=Kein relay state in der Antwort von dem Identity Provider [{0}].
|
noRelayStateInResponseMessage=Kein relay state in der Antwort von dem Identity Provider.
|
||||||
identityProviderAlreadyLinkedMessage=Die Identit\u00E4t welche von dem Identity Provider [{0}] zur\u00FCckgegeben wurde, ist bereits mit einem anderen Benutzer verkn\u00FCpft.
|
identityProviderAlreadyLinkedMessage=Die Identit\u00E4t welche von dem Identity Provider zur\u00FCckgegeben wurde, ist bereits mit einem anderen Benutzer verkn\u00FCpft.
|
||||||
insufficientPermissionMessage=Nicht gen\u00FCgend Rechte um die Identit\u00E4t zu verkn\u00FCpfen.
|
insufficientPermissionMessage=Nicht gen\u00FCgend Rechte um die Identit\u00E4t zu verkn\u00FCpfen.
|
||||||
couldNotProceedWithAuthenticationRequestMessage=Konnte den Authentifizierungs Request nicht weiter verarbeiten.
|
couldNotProceedWithAuthenticationRequestMessage=Konnte den Authentifizierungs Request nicht weiter verarbeiten.
|
||||||
couldNotObtainTokenMessage=Konnte kein token vom Identity Provider [{0}] entnehmen.
|
couldNotObtainTokenMessage=Konnte kein token vom Identity Provider entnehmen.
|
||||||
unexpectedErrorRetrievingTokenMessage=Unerwarteter Fehler w\u00E4hrend dem Empfang des Token von dem Identity Provider [{0}].
|
unexpectedErrorRetrievingTokenMessage=Unerwarteter Fehler w\u00E4hrend dem Empfang des Token von dem Identity Provider.
|
||||||
unexpectedErrorHandlingResponseMessage=Unerwarteter Fehler w\u00E4hrend der Bearbeitung des Respons vom Identity Provider [{0}].
|
unexpectedErrorHandlingResponseMessage=Unerwarteter Fehler w\u00E4hrend der Bearbeitung des Respons vom Identity Provider.
|
||||||
identityProviderAuthenticationFailedMessage=Authentifizierung Fehlgeschlagen. Konnte sich mit dem Identity Provider [{0}] nicht authentifizieren.
|
identityProviderAuthenticationFailedMessage=Authentifizierung Fehlgeschlagen. Konnte sich mit dem Identity Provider nicht authentifizieren.
|
||||||
couldNotSendAuthenticationRequestMessage=Konnte Authentifizierungs Request nicht an den Identity Provider [{0}] schicken.
|
couldNotSendAuthenticationRequestMessage=Konnte Authentifizierungs Request nicht an den Identity Provider schicken.
|
||||||
unexpectedErrorHandlingRequestMessage=Unerwarteter Fehler w\u00E4hrend der Bearbeitung des Requests zum Identity Provider [{0}].
|
unexpectedErrorHandlingRequestMessage=Unerwarteter Fehler w\u00E4hrend der Bearbeitung des Requests zum Identity Provider.
|
||||||
invalidAccessCodeMessage=Ung\u00FCltiger Access-Code.
|
invalidAccessCodeMessage=Ung\u00FCltiger Access-Code.
|
||||||
sessionNotActiveMessage=Session nicht aktiv.
|
sessionNotActiveMessage=Session nicht aktiv.
|
||||||
unknownCodeMessage=Unbekannter Code, bitte melden Sie sich erneut \u00FCber die Applikation an.
|
unknownCodeMessage=Unbekannter Code, bitte melden Sie sich erneut \u00FCber die Applikation an.
|
||||||
invalidCodeMessage=Ung\u00FCltiger Code, bitte melden Sie sich erneut \u00FCber die Applikation an.
|
invalidCodeMessage=Ung\u00FCltiger Code, bitte melden Sie sich erneut \u00FCber die Applikation an.
|
||||||
identityProviderUnexpectedErrorMessage=Unerwarteter Fehler w\u00E4hrend der Authentifizierung mit dem Identity Provider.
|
identityProviderUnexpectedErrorMessage=Unerwarteter Fehler w\u00E4hrend der Authentifizierung mit dem Identity Provider.
|
||||||
identityProviderNotFoundMessage=Konnte kein Identity Provider mit der Identit\u00E4t [{0}] finden.
|
identityProviderNotFoundMessage=Konnte kein Identity Provider mit der Identit\u00E4t finden.
|
||||||
realmSupportsNoCredentialsMessage=Realm [{0}] unterst\u00FCtzt keine Credential Typen.
|
realmSupportsNoCredentialsMessage=Realm unterst\u00FCtzt keine Credential Typen.
|
||||||
identityProviderNotUniqueMessage=Realm [{0}] unterst\u00FCtz mehrere Identity Providers.
|
identityProviderNotUniqueMessage=Realm unterst\u00FCtz mehrere Identity Providers.
|
||||||
|
|
||||||
invalidParameterMessage=Invalid parameter\: {0}
|
invalidParameterMessage=Invalid parameter\: {0}
|
||||||
missingParameterMessage=Missing parameter\: {0}
|
missingParameterMessage=Missing parameter\: {0}
|
||||||
|
|
22
forms/common-themes/src/main/resources/theme/base/login/messages/messages_en.properties
Executable file → Normal file
22
forms/common-themes/src/main/resources/theme/base/login/messages/messages_en.properties
Executable file → Normal file
|
@ -171,23 +171,23 @@ registrationNotAllowedMessage=Registration not allowed
|
||||||
resetCredentialNotAllowedMessage=Reset Credential not allowed
|
resetCredentialNotAllowedMessage=Reset Credential not allowed
|
||||||
|
|
||||||
permissionNotApprovedMessage=Permission not approved.
|
permissionNotApprovedMessage=Permission not approved.
|
||||||
noRelayStateInResponseMessage=No relay state in response from identity provider [{0}].
|
noRelayStateInResponseMessage=No relay state in response from identity provider.
|
||||||
identityProviderAlreadyLinkedMessage=The identity returned by the identity provider [{0}] is already linked to another user.
|
identityProviderAlreadyLinkedMessage=The identity returned by the identity provider is already linked to another user.
|
||||||
insufficientPermissionMessage=Insufficient permissions to link identities.
|
insufficientPermissionMessage=Insufficient permissions to link identities.
|
||||||
couldNotProceedWithAuthenticationRequestMessage=Could not proceed with authentication request to identity provider.
|
couldNotProceedWithAuthenticationRequestMessage=Could not proceed with authentication request to identity provider.
|
||||||
couldNotObtainTokenMessage=Could not obtain token from identity provider [{0}].
|
couldNotObtainTokenMessage=Could not obtain token from identity provider.
|
||||||
unexpectedErrorRetrievingTokenMessage=Unexpected error when retrieving token from identity provider [{0}].
|
unexpectedErrorRetrievingTokenMessage=Unexpected error when retrieving token from identity provider.
|
||||||
unexpectedErrorHandlingResponseMessage=Unexpected error when handling response from identity provider [{0}].
|
unexpectedErrorHandlingResponseMessage=Unexpected error when handling response from identity provider.
|
||||||
identityProviderAuthenticationFailedMessage=Authentication failed. Could not authenticate with identity provider [{0}].
|
identityProviderAuthenticationFailedMessage=Authentication failed. Could not authenticate with identity provider.
|
||||||
couldNotSendAuthenticationRequestMessage=Could not send authentication request to identity provider [{0}].
|
couldNotSendAuthenticationRequestMessage=Could not send authentication request to identity provider.
|
||||||
unexpectedErrorHandlingRequestMessage=Unexpected error when handling authentication request to identity provider [{0}].
|
unexpectedErrorHandlingRequestMessage=Unexpected error when handling authentication request to identity provider.
|
||||||
invalidAccessCodeMessage=Invalid access code.
|
invalidAccessCodeMessage=Invalid access code.
|
||||||
sessionNotActiveMessage=Session not active.
|
sessionNotActiveMessage=Session not active.
|
||||||
invalidCodeMessage=An error occurred, please login again through your application.
|
invalidCodeMessage=An error occurred, please login again through your application.
|
||||||
identityProviderUnexpectedErrorMessage=Unexpected error when authenticating with identity provider
|
identityProviderUnexpectedErrorMessage=Unexpected error when authenticating with identity provider
|
||||||
identityProviderNotFoundMessage=Could not find an identity provider with the identifier [{0}].
|
identityProviderNotFoundMessage=Could not find an identity provider with the identifier.
|
||||||
realmSupportsNoCredentialsMessage=Realm [{0}] does not support any credential type.
|
realmSupportsNoCredentialsMessage=Realm does not support any credential type.
|
||||||
identityProviderNotUniqueMessage=Realm [{0}] supports multiple identity providers. Could not determine which identity provider should be used to authenticate with.
|
identityProviderNotUniqueMessage=Realm supports multiple identity providers. Could not determine which identity provider should be used to authenticate with.
|
||||||
emailVerifiedMessage=Your email address has been verified.
|
emailVerifiedMessage=Your email address has been verified.
|
||||||
|
|
||||||
locale_de=German
|
locale_de=German
|
||||||
|
|
22
forms/common-themes/src/main/resources/theme/base/login/messages/messages_it.properties
Executable file → Normal file
22
forms/common-themes/src/main/resources/theme/base/login/messages/messages_it.properties
Executable file → Normal file
|
@ -166,23 +166,23 @@ resetCredentialNotAllowedMessage=Reset Credential not allowed
|
||||||
|
|
||||||
|
|
||||||
permissionNotApprovedMessage=Permesso non approvato.
|
permissionNotApprovedMessage=Permesso non approvato.
|
||||||
noRelayStateInResponseMessage=Nessun relay state in risposta dall''identity provider [{0}].
|
noRelayStateInResponseMessage=Nessun relay state in risposta dall''identity provider.
|
||||||
identityProviderAlreadyLinkedMessage=L''identita'' restituita dall''identity provider [{0}] e'' gia'' associata ad un altro utente.
|
identityProviderAlreadyLinkedMessage=L''identita'' restituita dall''identity provider e'' gia'' associata ad un altro utente.
|
||||||
insufficientPermissionMessage=Permessi insufficienti per associare le identita''.
|
insufficientPermissionMessage=Permessi insufficienti per associare le identita''.
|
||||||
couldNotProceedWithAuthenticationRequestMessage=Non posso procedere con la richiesta di autenticazione all''identity provider.
|
couldNotProceedWithAuthenticationRequestMessage=Non posso procedere con la richiesta di autenticazione all''identity provider.
|
||||||
couldNotObtainTokenMessage=Non posso ottenere un token dall''identity provider [{0}].
|
couldNotObtainTokenMessage=Non posso ottenere un token dall''identity provider.
|
||||||
unexpectedErrorRetrievingTokenMessage=Errore inaspettato nella gestione del token dall''identity provider [{0}].
|
unexpectedErrorRetrievingTokenMessage=Errore inaspettato nella gestione del token dall''identity provider.
|
||||||
unexpectedErrorHandlingResponseMessage=Errore inaspettato nella gestione della risposta dall''identity provider [{0}].
|
unexpectedErrorHandlingResponseMessage=Errore inaspettato nella gestione della risposta dall''identity provider.
|
||||||
identityProviderAuthenticationFailedMessage=Autenticazione fallita. Non posso effettuare l''autenticazione con l''identity provider [{0}].
|
identityProviderAuthenticationFailedMessage=Autenticazione fallita. Non posso effettuare l''autenticazione con l''identity provider.
|
||||||
couldNotSendAuthenticationRequestMessage=Non posso inviare la richiesta di autenticazione all''identity provider [{0}].
|
couldNotSendAuthenticationRequestMessage=Non posso inviare la richiesta di autenticazione all''identity provider.
|
||||||
unexpectedErrorHandlingRequestMessage=Errore imprevisto durante l''autenticazione con identity provider [{0}].
|
unexpectedErrorHandlingRequestMessage=Errore imprevisto durante l''autenticazione con identity provider.
|
||||||
invalidAccessCodeMessage=Codice di accesso non valido.
|
invalidAccessCodeMessage=Codice di accesso non valido.
|
||||||
sessionNotActiveMessage=Sessione non attiva.
|
sessionNotActiveMessage=Sessione non attiva.
|
||||||
invalidCodeMessage=Si e'' verificato un errore, per piacere effettua di nuovo il login nella tua applicazione.
|
invalidCodeMessage=Si e'' verificato un errore, per piacere effettua di nuovo il login nella tua applicazione.
|
||||||
identityProviderUnexpectedErrorMessage=Errore imprevisto durante l''autenticazione con identity provider
|
identityProviderUnexpectedErrorMessage=Errore imprevisto durante l''autenticazione con identity provider
|
||||||
identityProviderNotFoundMessage=Non posso trovare un identity provider con l''identificativo [{0}].
|
identityProviderNotFoundMessage=Non posso trovare un identity provider con l''identificativo.
|
||||||
realmSupportsNoCredentialsMessage=Il Realm [{0}] non supporta nessun tipo di credenziali.
|
realmSupportsNoCredentialsMessage=Il Realm non supporta nessun tipo di credenziali.
|
||||||
identityProviderNotUniqueMessage=Il Realm [{0}] supporta piu'' di un identity provider. Non posso determinare quale identity provider con il quale autenticarti.
|
identityProviderNotUniqueMessage=Il Realm supporta piu'' di un identity provider. Non posso determinare quale identity provider con il quale autenticarti.
|
||||||
emailVerifiedMessage=Il tuo indirizzo email e'' stato verificato.
|
emailVerifiedMessage=Il tuo indirizzo email e'' stato verificato.
|
||||||
|
|
||||||
locale_de=German
|
locale_de=German
|
||||||
|
|
22
forms/common-themes/src/main/resources/theme/base/login/messages/messages_pt_BR.properties
Executable file → Normal file
22
forms/common-themes/src/main/resources/theme/base/login/messages/messages_pt_BR.properties
Executable file → Normal file
|
@ -171,23 +171,23 @@ registrationNotAllowedMessage=Registro n\u00E3o permitido.
|
||||||
resetCredentialNotAllowedMessage=Reset Credential not allowed
|
resetCredentialNotAllowedMessage=Reset Credential not allowed
|
||||||
|
|
||||||
permissionNotApprovedMessage=Permiss\u00E3o n\u00E3o aprovada.
|
permissionNotApprovedMessage=Permiss\u00E3o n\u00E3o aprovada.
|
||||||
noRelayStateInResponseMessage=Sem estado de retransmiss\u00E3o na resposta do provedor de identidade [{0}].
|
noRelayStateInResponseMessage=Sem estado de retransmiss\u00E3o na resposta do provedor de identidade.
|
||||||
identityProviderAlreadyLinkedMessage=A identidade retornado pelo provedor de identidade [{0}] j\u00E1 est\u00E1 vinculado a outro usu\u00E1rio.
|
identityProviderAlreadyLinkedMessage=A identidade retornado pelo provedor de identidade j\u00E1 est\u00E1 vinculado a outro usu\u00E1rio.
|
||||||
insufficientPermissionMessage=Permiss\u00F5es insuficientes para vincular identidades.
|
insufficientPermissionMessage=Permiss\u00F5es insuficientes para vincular identidades.
|
||||||
couldNotProceedWithAuthenticationRequestMessage=N\u00E3o foi poss\u00EDvel proceder \u00E0 solicita\u00E7\u00E3o de autentica\u00E7\u00E3o para provedor de identidade.
|
couldNotProceedWithAuthenticationRequestMessage=N\u00E3o foi poss\u00EDvel proceder \u00E0 solicita\u00E7\u00E3o de autentica\u00E7\u00E3o para provedor de identidade.
|
||||||
couldNotObtainTokenMessage=N\u00E3o foi poss\u00EDvel obter token do provedor de identidade [{0}].
|
couldNotObtainTokenMessage=N\u00E3o foi poss\u00EDvel obter token do provedor de identidade.
|
||||||
unexpectedErrorRetrievingTokenMessage=Erro inesperado ao recuperar token do provedor de identidade [{0}].
|
unexpectedErrorRetrievingTokenMessage=Erro inesperado ao recuperar token do provedor de identidade.
|
||||||
unexpectedErrorHandlingResponseMessage=Erro inesperado ao manusear resposta do provedor de identidade [{0}].
|
unexpectedErrorHandlingResponseMessage=Erro inesperado ao manusear resposta do provedor de identidade.
|
||||||
identityProviderAuthenticationFailedMessage=Falha na autentica\u00E7\u00E3o. N\u00E3o foi poss\u00EDvel autenticar com o provedor de identidade [{0}].
|
identityProviderAuthenticationFailedMessage=Falha na autentica\u00E7\u00E3o. N\u00E3o foi poss\u00EDvel autenticar com o provedor de identidade.
|
||||||
couldNotSendAuthenticationRequestMessage=N\u00E3o foi poss\u00EDvel enviar solicita\u00E7\u00E3o de autentica\u00E7\u00E3o para o provedor de identidade [{0}].
|
couldNotSendAuthenticationRequestMessage=N\u00E3o foi poss\u00EDvel enviar solicita\u00E7\u00E3o de autentica\u00E7\u00E3o para o provedor de identidade.
|
||||||
unexpectedErrorHandlingRequestMessage=Erro inesperado ao manusear pedido de autentica\u00E7\u00E3o para provedor de identidade [{0}].
|
unexpectedErrorHandlingRequestMessage=Erro inesperado ao manusear pedido de autentica\u00E7\u00E3o para provedor de identidade.
|
||||||
invalidAccessCodeMessage=C\u00F3digo de acesso inv\u00E1lido.
|
invalidAccessCodeMessage=C\u00F3digo de acesso inv\u00E1lido.
|
||||||
sessionNotActiveMessage=Sess\u00E3o inativa.
|
sessionNotActiveMessage=Sess\u00E3o inativa.
|
||||||
invalidCodeMessage=C\u00F3digo inv\u00E1lido, por favor fa\u00E7a login novamente atrav\u00E9s de sua aplica\u00E7\u00E3o.
|
invalidCodeMessage=C\u00F3digo inv\u00E1lido, por favor fa\u00E7a login novamente atrav\u00E9s de sua aplica\u00E7\u00E3o.
|
||||||
identityProviderUnexpectedErrorMessage=Erro inesperado durante a autentica\u00E7\u00E3o com o provedor de identidade
|
identityProviderUnexpectedErrorMessage=Erro inesperado durante a autentica\u00E7\u00E3o com o provedor de identidade
|
||||||
identityProviderNotFoundMessage=N\u00E3o foi poss\u00EDvel encontrar um provedor de identidade com o identificador [{0}].
|
identityProviderNotFoundMessage=N\u00E3o foi poss\u00EDvel encontrar um provedor de identidade com o identificador.
|
||||||
realmSupportsNoCredentialsMessage=O realm [{0}] n\u00E3o suporta qualquer tipo de credencial.
|
realmSupportsNoCredentialsMessage=O realm n\u00E3o suporta qualquer tipo de credencial.
|
||||||
identityProviderNotUniqueMessage=O realm [{0}] suporta m\u00FAltiplos provedores de identidade. N\u00E3o foi poss\u00EDvel determinar qual o provedor de identidade deve ser usado para se autenticar.
|
identityProviderNotUniqueMessage=O realm suporta m\u00FAltiplos provedores de identidade. N\u00E3o foi poss\u00EDvel determinar qual o provedor de identidade deve ser usado para se autenticar.
|
||||||
emailVerifiedMessage=O seu endere\u00E7o de e-mail foi confirmado.
|
emailVerifiedMessage=O seu endere\u00E7o de e-mail foi confirmado.
|
||||||
|
|
||||||
locale_de=Deutsch
|
locale_de=Deutsch
|
||||||
|
|
|
@ -77,6 +77,6 @@ public class IdentityProviderHintTest {
|
||||||
|
|
||||||
assertTrue(this.driver.getCurrentUrl().startsWith("http://localhost:8081/auth/realms/realm-with-broker/protocol/openid-connect/auth"));
|
assertTrue(this.driver.getCurrentUrl().startsWith("http://localhost:8081/auth/realms/realm-with-broker/protocol/openid-connect/auth"));
|
||||||
|
|
||||||
assertEquals("Could not find an identity provider with the identifier [invalid-idp-id].", this.driver.findElement(By.className("instruction")).getText());
|
assertEquals("Could not find an identity provider with the identifier.", this.driver.findElement(By.className("instruction")).getText());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue