{"action":"created","issue":{"url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/1398","repository_url":"https://api.github.com/repos/aws-amplify/amplify-js","labels_url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/1398/labels{/name}","comments_url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/1398/comments","events_url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/1398/events","html_url":"https://github.com/aws-amplify/amplify-js/issues/1398","id":348035396,"node_id":"MDU6SXNzdWUzNDgwMzUzOTY=","number":1398,"title":"No current user thrown on Auth.currentSession() after successful login","user":{"login":"NextStepDev","id":39392048,"node_id":"MDQ6VXNlcjM5MzkyMDQ4","avatar_url":"https://avatars3.githubusercontent.com/u/39392048?v=4","gravatar_id":"","url":"https://api.github.com/users/NextStepDev","html_url":"https://github.com/NextStepDev","followers_url":"https://api.github.com/users/NextStepDev/followers","following_url":"https://api.github.com/users/NextStepDev/following{/other_user}","gists_url":"https://api.github.com/users/NextStepDev/gists{/gist_id}","starred_url":"https://api.github.com/users/NextStepDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NextStepDev/subscriptions","organizations_url":"https://api.github.com/users/NextStepDev/orgs","repos_url":"https://api.github.com/users/NextStepDev/repos","events_url":"https://api.github.com/users/NextStepDev/events{/privacy}","received_events_url":"https://api.github.com/users/NextStepDev/received_events","type":"User","site_admin":false},"labels":[{"id":845261099,"node_id":"MDU6TGFiZWw4NDUyNjEwOTk=","url":"https://api.github.com/repos/aws-amplify/amplify-js/labels/Auth","name":"Auth","color":"bfdadc","default":false},{"id":708993526,"node_id":"MDU6TGFiZWw3MDg5OTM1MjY=","url":"https://api.github.com/repos/aws-amplify/amplify-js/labels/bug","name":"bug","color":"ee0701","default":true},{"id":772762686,"node_id":"MDU6TGFiZWw3NzI3NjI2ODY=","url":"https://api.github.com/repos/aws-amplify/amplify-js/labels/investigating","name":"investigating","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-06T18:33:32Z","updated_at":"2018-08-07T18:56:51Z","closed_at":null,"author_association":"NONE","body":"**Do you want to request a feature or report a bug?**\r\nbug\r\n\r\n**What is the current behavior?**\r\nAfter a user is successfully authenticated through Auth.signIn, I get the response \"No current user\" when calling Auth.currentSession()\r\n\r\n**What is the expected behavior?**\r\nThere should definitely be a current session returned considering the session was just established on signIn\r\n\r\n**Which versions of Amplify, and which browser / OS are affected by this issue? Did this work in previous versions?**\r\nI'm working with react native app and ios simulator in expo\r\nversions:\r\n    \"aws-amplify\": \"^1.0.4\",\r\n    \"aws-amplify-react-native\": \"^1.0.4\",\r\n    \"aws-appsync\": \"^1.3.2\",\r\n    \"aws-appsync-react\": \"^1.1.2\",\r\n\r\nThis was working yesterday, I have no idea what happened\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/39392048/43734679-7735286c-9986-11e8-8fa8-226ed3ebec33.png)\r\n\r\nAuth.configure({\r\n  region: 'us-east-2',\r\n  userPoolId: 'us-east-2_*********',\r\n  userPoolWebClientId: '5a********************ctdg',\r\n});\r\nconst client = new AWSAppSyncClient({\r\n  url: \"https://ra2f****************pagvejpge.appsync-api.us-east-2.amazonaws.com/graphql\",\r\n  region: 'us-east-2',\r\n  auth: {\r\n    type: 'AMAZON_COGNITO_USER_POOLS',\r\n    jwtToken: async () => (await Auth.currentSession()).getIdToken().getJwtToken(),\r\n  },\r\n})\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/comments/411164410","html_url":"https://github.com/aws-amplify/amplify-js/issues/1398#issuecomment-411164410","issue_url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/1398","id":411164410,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTE2NDQxMA==","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-08-07T18:56:51Z","updated_at":"2018-08-07T18:56:51Z","author_association":"CONTRIBUTOR","body":"@NextStepDev Can you provide some debug info for this issue? You can do this by putting `window.LOG_LEVEL='DEBUG'` in your code."}}
{"actor":{"display_login":"powerful23"}}