Closed VadymKuriyDev closed 5 months ago
Thank you for the report @VadymKuriyDev, our team member will look into the issue
Hey @VadymKuriyDev, thank you for your patience. This definitely is a bug on our end, we'll try to fix it, and let you know once it goes live
Hi @VadymKuriyDev,
Sorry for the confusion. We need to correct the documentation on that method. The Cognito service does not return userSub
(userId) in the confirmSignUp
call.
https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmSignUp.html
userSub is only returned from signUp
calls.
https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SignUp.html
AuthSignUpResult
is re-used for both signUp and confirmSignUp, so we will need to adjust the message on the getUserId
method.
Hi @tylerjroach, thx for the explanation.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
Before opening, please confirm:
Language and Async Model
Kotlin - Coroutines
Amplify Categories
Authentication
Gradle script dependencies
Environment information
Please include any relevant guides or documentation you're referencing
According
in AuthSignUpResult
Describe the bug
After calling
confirmSignUp
whenisSignUpComplete
istrue
userId isnull
. Expected - receive newly registered user's idCode Snippet
Log output