aws-amplify / aws-amplify/amplify-ui-android
[Authenticator] Incorrect message for user pools with disabled self registration
- Dominant language
- Kotlin
- Stars
- 25
- Forks
- 18
- Avg merge
- 7d 3h
- Merged PRs (30d)
- 1
Description
### Before creating a new issue, please confirm:
- [x] I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-ui-android/issues?q=is%3Aissue+).
- [x] I have read the guide for [submitting bug reports](https://github.com/aws-amplify/amplify-ui-android/blob/main/CONTRIBUTING.md#reporting-bugsfeature-requests).
### Which UI component?
Authenticator
### Gradle script dependencies
```kotlin
// Put output below this line
```
### Environment information
```
# Put output below this line
```
### Please include any relevant guides or documentation you're referencing
_No response_
### Describe the bug
If the User Pool has disabled self registration then sign ups will fail. The error message shown when this happens says that password cannot be reset in this state - this is nonsensical.
### Reproduction steps (if applicable)
1. Disable self registration in user pool
2. Attempt to create an account via Authenticator
3. Observe snackbar message
### Code Snippet
```kotlin
// Put your code below this line.
```
### Log output
```
// Put your logs below this line
```
### Configuration File
_No response_
### Additional information and screenshots
_No response_
Contributor guide
Research direction
Start with the Authenticator sign-up flow and reproduce the issue using an AWS user pool with self registration disabled. Trace the snackbar message shown after account creation fails and verify that the resulting message describes the disabled-registration condition rather than password reset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, aws, kotlin
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100