{"action":"created","issue":{"url":"https://api.github.com/repos/aws/amazon-cognito-identity-js/issues/28","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/28/labels{/name}","comments_url":"https://api.github.com/repos/aws/amazon-cognito-identity-js/issues/28/comments","events_url":"https://api.github.com/repos/aws/amazon-cognito-identity-js/issues/28/events","html_url":"https://github.com/aws/amazon-cognito-identity-js/issues/28","id":153570623,"number":28,"title":"CognitoUser.js: Uncaught TypeError: this.client.getAuthenticationDetails is not a function","user":{"login":"NoxHarmonium","id":2357137,"avatar_url":"https://avatars.githubusercontent.com/u/2357137?v=3","gravatar_id":"","url":"https://api.github.com/users/NoxHarmonium","html_url":"https://github.com/NoxHarmonium","followers_url":"https://api.github.com/users/NoxHarmonium/followers","following_url":"https://api.github.com/users/NoxHarmonium/following{/other_user}","gists_url":"https://api.github.com/users/NoxHarmonium/gists{/gist_id}","starred_url":"https://api.github.com/users/NoxHarmonium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoxHarmonium/subscriptions","organizations_url":"https://api.github.com/users/NoxHarmonium/orgs","repos_url":"https://api.github.com/users/NoxHarmonium/repos","events_url":"https://api.github.com/users/NoxHarmonium/events{/privacy}","received_events_url":"https://api.github.com/users/NoxHarmonium/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-07T03:28:43Z","updated_at":"2016-05-07T04:41:52Z","closed_at":"2016-05-07T04:41:52Z","body":"When trying to execute the client authentication example I get the following error in my console:\r\n\r\n> CognitoUser.js: Uncaught TypeError: this.client.getAuthenticationDetails is not a function\r\n\r\nIt looks like `this.client` is instantiated by calling `AWSCognito.CognitoIdentityServiceProvider({apiVersion: '2016-04-19'})`. \r\n\r\nThe thing is I can't find any reference to the `getAuthenticationDetails` method in the AWS SDK.\r\n\r\nIs this a developer preview method only?\r\n"},"comment":{"url":"https://api.github.com/repos/aws/amazon-cognito-identity-js/issues/comments/217606451","html_url":"https://github.com/aws/amazon-cognito-identity-js/issues/28#issuecomment-217606451","issue_url":"https://api.github.com/repos/aws/amazon-cognito-identity-js/issues/28","id":217606451,"user":{"login":"NoxHarmonium","id":2357137,"avatar_url":"https://avatars.githubusercontent.com/u/2357137?v=3","gravatar_id":"","url":"https://api.github.com/users/NoxHarmonium","html_url":"https://github.com/NoxHarmonium","followers_url":"https://api.github.com/users/NoxHarmonium/followers","following_url":"https://api.github.com/users/NoxHarmonium/following{/other_user}","gists_url":"https://api.github.com/users/NoxHarmonium/gists{/gist_id}","starred_url":"https://api.github.com/users/NoxHarmonium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoxHarmonium/subscriptions","organizations_url":"https://api.github.com/users/NoxHarmonium/orgs","repos_url":"https://api.github.com/users/NoxHarmonium/repos","events_url":"https://api.github.com/users/NoxHarmonium/events{/privacy}","received_events_url":"https://api.github.com/users/NoxHarmonium/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T04:41:52Z","updated_at":"2016-05-07T04:41:52Z","body":"Sorry, it must have been my build setup. I'm trying to get it to work with webpack. I did a sanity test in a static HTML file with the setup outlined in the readme and now I have a different issue which is outlined here https://github.com/aws/amazon-cognito-identity-js/issues/5 so I will close this issue."}}