Skip to content

feat(authenticator): Add cognito error message translation feature for authenticator#6541

Merged
jvh-aws merged 14 commits intomainfrom
jv/add-authenticator-cognito-error-translations
Feb 5, 2026
Merged

feat(authenticator): Add cognito error message translation feature for authenticator#6541
jvh-aws merged 14 commits intomainfrom
jv/add-authenticator-cognito-error-translations

Conversation

@jvh-aws
Copy link
Contributor

@jvh-aws jvh-aws commented Jan 28, 2026

Issue #, if available: #3323

Description of changes:

Add support for internationalizing Cognito Errors in Authenticator, as documented in aws-amplify/amplify-ui#6824

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jvh-aws jvh-aws requested a review from a team as a code owner January 28, 2026 11:52
@jvh-aws jvh-aws marked this pull request as draft January 28, 2026 11:54
@jvh-aws jvh-aws marked this pull request as ready for review January 30, 2026 12:20
@jvh-aws jvh-aws changed the title Add cognito error message translation feature for authenticator feat(authenticator): Add cognito error message translation feature for authenticator Jan 30, 2026
cadivus
cadivus previously approved these changes Feb 3, 2026
… change cognitoerrortype enum to not include 'exception' in value, ensure proper arb keys for sdk exceptions postfixed with 'ServiceException'
@jvh-aws jvh-aws merged commit 8fc7391 into main Feb 5, 2026
55 of 91 checks passed
cadivus pushed a commit that referenced this pull request Feb 5, 2026
…r authenticator (#6541)

* Add resolver call for cognito error message translations in authenticator and add exception type

* Fix analyzer

* Apply formatter

* Add minor name changes and add arb key getter to CognitoAuthenticatorException

* Add tests

* Add optinal string resolver to mock authenticator

* Apply formatter

* Improve authenticator exception tests by using sdk exception classes, change cognitoerrortype enum to not include 'exception' in value, ensure proper arb keys for sdk exceptions postfixed with 'ServiceException'

* Apply formatter
cadivus pushed a commit that referenced this pull request Feb 7, 2026
…r authenticator (#6541)

* Add resolver call for cognito error message translations in authenticator and add exception type

* Fix analyzer

* Apply formatter

* Add minor name changes and add arb key getter to CognitoAuthenticatorException

* Add tests

* Add optinal string resolver to mock authenticator

* Apply formatter

* Improve authenticator exception tests by using sdk exception classes, change cognitoerrortype enum to not include 'exception' in value, ensure proper arb keys for sdk exceptions postfixed with 'ServiceException'

* Apply formatter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants