ios - AWSCognitoIdentityUser getSession not called -


i'm trying idtoken awscognitoidentityuser continue block never called. cause of this?

awscognitoidentityuserpool *pool = [awscognitoidentityuserpool cognitoidentityuserpoolforkey:@"userpool"]; awscognitoidentityuser *user = [pool currentuser];  [[user getsession] continuewithblock:^id _nullable(awstask<awscognitoidentityusersession *> * _nonnull task) {     //never called     return nil; }]; 

first turn on verbose logging: [awslogger defaultlogger].loglevel = awsloglevelverbose; determine error is.

sounds have associated awscognitoidentityinteractiveauthenticationdelegate pool.

is startpasswordauthentication method getting called? correctly returning implementation of awscognitoidentitypasswordauthentication , setting passwordauthenticationcompletionsource.result instance of awscognitoidentitypasswordauthenticationdetails in implementation of getpasswordauthenticationdetails


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -