I want to get user pool sub id after register in the below function else part.
this.cognitoUtil.getUserPool().signUp(user.email, user.password, attributeList, null, function (err, result) {
if (err) {
callback.cognitoCallback(err.message, null);
} else {
//console.log("UserRegistrationService: registered user is " + result);
callback.cognitoCallback(null, result);
}
});
In the below links got info like sub id is available when signup but bit confusion how to get update that, either any SDK have to update or anything have to change the function. I would appreciate if i get that sub id in response.
I want to get user pool sub id after register in the below function else part.
In the below links got info like sub id is available when signup but bit confusion how to get update that, either any SDK have to update or anything have to change the function. I would appreciate if i get that sub id in response.