-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConfirmSignIn to set a new password with user attribute doesn't work during first access #2622
Comments
Hello, |
Hello, |
Hello, |
Thank you for digging into this. Will take a further look. |
@gianluigi-bresaola Just wanted to provide an update that I've worked on a fix and we will work on getting this into a release. #2640 |
Same problem here, @tylerjroach do you know when the fix will be released? |
@marcozabo I can't provide a definitive release date, but since it has been merged, it will be a part of our next release. |
@gianluigi-bresaola @marcozabo The fix has been released in v2.14.6. Please let us know if you are still having issues signing in. |
|
Before opening, please confirm:
Language and Async Model
Kotlin
Amplify Categories
Authentication
Gradle script dependencies
Environment information
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
After first sign in with a temporary password I receive CONFIRM_SIGN_IN_WITH_NEW_PASSWORD step, then I confirm with a new password and phone number but I get the follow error:
InvalidParameterException{message=One or more parameters are incorrect., cause=InvalidParameterException(message=Invalid attributes given, phone_number is missing), recoverySuggestion=Enter correct parameters.}
Phone number is in format "+ country code number" like as amplify documentation descibes and is provided as attribute to confirmSignIn function.
Reproduction steps (if applicable)
No response
Code Snippet
Log output
amplifyconfiguration.json
{
"UserAgent": "aws-amplify-cli/2.0",
"Version": "1.0",
"auth": {
"plugins": {
"awsCognitoAuthPlugin": {
"UserAgent": "aws-amplify-cli/0.1.0",
"Version": "0.1.0",
"IdentityManager": {
"Default": {}
},
"CognitoUserPool": {
"Default": {
"PoolId": "poolid",
"AppClientId": "clientid",
"Region": "eu-west-1"
}
},
"Auth": {
"Default": {
"authenticationFlowType": "USER_SRP_AUTH",
"socialProviders": [],
"usernameAttributes": [],
"signupAttributes": [
"EMAIL"
],
"passwordProtectionSettings": {
"passwordPolicyMinLength": 8,
"passwordPolicyCharacters": []
},
"mfaConfiguration": "ON",
"mfaTypes": [
"SMS"
],
"verificationMechanisms": [
"EMAIL"
]
}
}
}
}
}
}
GraphQL Schema
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: