{"action":"created","issue":{"url":"https://api.github.com/repos/aws/amazon-cognito-identity-js/issues/2","repository_url":"https://api.github.com/repos/aws/amazon-cognito-identity-js","labels_url":"https://api.github.com/repos/aws/amazon-cognito-identity-js/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/aws/amazon-cognito-identity-js/issues/2/comments","events_url":"https://api.github.com/repos/aws/amazon-cognito-identity-js/issues/2/events","html_url":"https://github.com/aws/amazon-cognito-identity-js/issues/2","id":150105394,"number":2,"title":"userPool.signUp results in CredentialsError: Missing credentials in config","user":{"login":"jstewmon","id":909418,"avatar_url":"https://avatars.githubusercontent.com/u/909418?v=3","gravatar_id":"","url":"https://api.github.com/users/jstewmon","html_url":"https://github.com/jstewmon","followers_url":"https://api.github.com/users/jstewmon/followers","following_url":"https://api.github.com/users/jstewmon/following{/other_user}","gists_url":"https://api.github.com/users/jstewmon/gists{/gist_id}","starred_url":"https://api.github.com/users/jstewmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstewmon/subscriptions","organizations_url":"https://api.github.com/users/jstewmon/orgs","repos_url":"https://api.github.com/users/jstewmon/repos","events_url":"https://api.github.com/users/jstewmon/events{/privacy}","received_events_url":"https://api.github.com/users/jstewmon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-04-21T15:17:15Z","updated_at":"2016-04-22T14:27:55Z","closed_at":null,"body":"The sample code for use case 1 (included below for reference) produces an alert `CredentialsError: Missing credentials in config` when using a ClientId for which no secret is required.\r\n\r\n```js\r\nAWSCognito.config.region = 'us-east-1';\r\n    var poolData = { UserPoolId : 'us-east-1_TcoKGbf7n',\r\n                ClientId : '4pe2usejqcdmhi0a25jp4b5sh3'\r\n    };\r\n    var userPool = new AWSCognito.CognitoIdentityServiceProvider.CognitoUserPool(poolData);\r\n\r\n    var attributeList = [];\r\n    \r\n    var dataEmail = {\r\n        Name : 'email',\r\n        Value : 'email@mydomain.com'\r\n    };\r\n    var dataPhoneNumber = {\r\n        Name : 'phone_number',\r\n        Value : '+15555555555'\r\n    };\r\n    var attributeEmail = new AWSCognito.CognitoIdentityServiceProvider.CognitoUserAttribute(dataEmail);\r\n    var attributePhoneNumber = new AWSCognito.CognitoIdentityServiceProvider.CognitoUserAttribute(dataPhoneNumber);\r\n\r\n    attributeList.push(attributeEmail);\r\n    attributeList.push(attributePhoneNumber);\r\n\r\n    userPool.signUp('username', 'password', attributeList, null, function(err, result){\r\n        if (err) {\r\n            alert(err);\r\n            return;\r\n        }\r\n        cognitoUser = result.user;\r\n        console.log('user name is ' + cognitoUser.getUsername());\r\n    });\r\n```"},"comment":{"url":"https://api.github.com/repos/aws/amazon-cognito-identity-js/issues/comments/213449017","html_url":"https://github.com/aws/amazon-cognito-identity-js/issues/2#issuecomment-213449017","issue_url":"https://api.github.com/repos/aws/amazon-cognito-identity-js/issues/2","id":213449017,"user":{"login":"ljovanovic","id":551103,"avatar_url":"https://avatars.githubusercontent.com/u/551103?v=3","gravatar_id":"","url":"https://api.github.com/users/ljovanovic","html_url":"https://github.com/ljovanovic","followers_url":"https://api.github.com/users/ljovanovic/followers","following_url":"https://api.github.com/users/ljovanovic/following{/other_user}","gists_url":"https://api.github.com/users/ljovanovic/gists{/gist_id}","starred_url":"https://api.github.com/users/ljovanovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljovanovic/subscriptions","organizations_url":"https://api.github.com/users/ljovanovic/orgs","repos_url":"https://api.github.com/users/ljovanovic/repos","events_url":"https://api.github.com/users/ljovanovic/events{/privacy}","received_events_url":"https://api.github.com/users/ljovanovic/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T14:27:55Z","updated_at":"2016-04-22T14:27:55Z","body":"@sethtrain are you able to post a sample page with the libraries you leveraged?  I also took the steps you mention and am unable to get the first use case (signup user) functioning.  I was able to get past the Missing credentials issue, but ran into an 'Unable to verify secret hash for client' error."}}