aws-cognito-angular-quickstart icon indicating copy to clipboard operation
aws-cognito-angular-quickstart copied to clipboard

Error: Both UserPoolId and ClientId are required.

Open alonzothayn opened this issue 7 years ago • 0 comments
trafficstars

When I go through the tutorial I get the following error trying to use the app both locally and in s3.

ERROR Error: Both UserPoolId and ClientId are required. at new CognitoUserPool (CognitoUserPool.js:49) at CognitoUtil.getUserPool (cognito.service.ts:55) at CognitoUtil.getCurrentUser (cognito.service.ts:59) at UserLoginService.isAuthenticated (user-login.service.ts:125)

If I understood the tutorial the createresources.sh batch file is supposed to setup the cognito infrastructure. If that is not true could you add the steps to your readme file to let people know how to setup the userpoolid and clientid? Thanks.

alonzothayn avatar Jul 11 '18 22:07 alonzothayn