{"action":"created","issue":{"url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/1884","repository_url":"https://api.github.com/repos/aws-amplify/amplify-js","labels_url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/1884/labels{/name}","comments_url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/1884/comments","events_url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/1884/events","html_url":"https://github.com/aws-amplify/amplify-js/issues/1884","id":368903263,"node_id":"MDU6SXNzdWUzNjg5MDMyNjM=","number":1884,"title":"How do I use amazon-cognito-identity-js to get scopes in the access_token?","user":{"login":"andrej-vasilj","id":2750989,"node_id":"MDQ6VXNlcjI3NTA5ODk=","avatar_url":"https://avatars3.githubusercontent.com/u/2750989?v=4","gravatar_id":"","url":"https://api.github.com/users/andrej-vasilj","html_url":"https://github.com/andrej-vasilj","followers_url":"https://api.github.com/users/andrej-vasilj/followers","following_url":"https://api.github.com/users/andrej-vasilj/following{/other_user}","gists_url":"https://api.github.com/users/andrej-vasilj/gists{/gist_id}","starred_url":"https://api.github.com/users/andrej-vasilj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrej-vasilj/subscriptions","organizations_url":"https://api.github.com/users/andrej-vasilj/orgs","repos_url":"https://api.github.com/users/andrej-vasilj/repos","events_url":"https://api.github.com/users/andrej-vasilj/events{/privacy}","received_events_url":"https://api.github.com/users/andrej-vasilj/received_events","type":"User","site_admin":false},"labels":[{"id":881545386,"node_id":"MDU6TGFiZWw4ODE1NDUzODY=","url":"https://api.github.com/repos/aws-amplify/amplify-js/labels/Cognito","name":"Cognito","color":"006b75","default":false},{"id":708993532,"node_id":"MDU6TGFiZWw3MDg5OTM1MzI=","url":"https://api.github.com/repos/aws-amplify/amplify-js/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-11T00:16:23Z","updated_at":"2018-11-01T16:56:56Z","closed_at":null,"author_association":"NONE","body":"** Which Category is your question related to? **\r\namazon-cognito-identity-js\r\n\r\n** What AWS Services are you utilizing? **\r\nAWS Cognito User Pools\r\n\r\n** Provide additional details e.g. code snippets **\r\nHow do I use amazon-cognito-identity-js to get the scopes in the access_token? When I login using the web sign-in page I can see all default and custom scopes inside the access token, but when I use amazon-cognito-identity-js I get only the admin scope and nothing else."},"comment":{"url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/comments/435108433","html_url":"https://github.com/aws-amplify/amplify-js/issues/1884#issuecomment-435108433","issue_url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/1884","id":435108433,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTEwODQzMw==","user":{"login":"powerful23","id":11042868,"node_id":"MDQ6VXNlcjExMDQyODY4","avatar_url":"https://avatars1.githubusercontent.com/u/11042868?v=4","gravatar_id":"","url":"https://api.github.com/users/powerful23","html_url":"https://github.com/powerful23","followers_url":"https://api.github.com/users/powerful23/followers","following_url":"https://api.github.com/users/powerful23/following{/other_user}","gists_url":"https://api.github.com/users/powerful23/gists{/gist_id}","starred_url":"https://api.github.com/users/powerful23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powerful23/subscriptions","organizations_url":"https://api.github.com/users/powerful23/orgs","repos_url":"https://api.github.com/users/powerful23/repos","events_url":"https://api.github.com/users/powerful23/events{/privacy}","received_events_url":"https://api.github.com/users/powerful23/received_events","type":"User","site_admin":false},"created_at":"2018-11-01T16:56:56Z","updated_at":"2018-11-01T16:56:56Z","author_association":"CONTRIBUTOR","body":"@ErikCH as I know for now the scope would only be `aws.cognito.signin.user.admin`, there is no other scopes in the access token given from Cognito."}}
{"actor":{"display_login":"powerful23"}}