{"action":"created","issue":{"url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/1096","repository_url":"https://api.github.com/repos/aws-amplify/amplify-js","labels_url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/1096/labels{/name}","comments_url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/1096/comments","events_url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/1096/events","html_url":"https://github.com/aws-amplify/amplify-js/issues/1096","id":335172729,"node_id":"MDU6SXNzdWUzMzUxNzI3Mjk=","number":1096,"title":"[Help Wanted] Federated Signin against current user group in cognito identity pool","user":{"login":"aaayushsingh","id":19550852,"node_id":"MDQ6VXNlcjE5NTUwODUy","avatar_url":"https://avatars1.githubusercontent.com/u/19550852?v=4","gravatar_id":"","url":"https://api.github.com/users/aaayushsingh","html_url":"https://github.com/aaayushsingh","followers_url":"https://api.github.com/users/aaayushsingh/followers","following_url":"https://api.github.com/users/aaayushsingh/following{/other_user}","gists_url":"https://api.github.com/users/aaayushsingh/gists{/gist_id}","starred_url":"https://api.github.com/users/aaayushsingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaayushsingh/subscriptions","organizations_url":"https://api.github.com/users/aaayushsingh/orgs","repos_url":"https://api.github.com/users/aaayushsingh/repos","events_url":"https://api.github.com/users/aaayushsingh/events{/privacy}","received_events_url":"https://api.github.com/users/aaayushsingh/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":{"login":"haverchuck","id":10621276,"node_id":"MDQ6VXNlcjEwNjIxMjc2","avatar_url":"https://avatars1.githubusercontent.com/u/10621276?v=4","gravatar_id":"","url":"https://api.github.com/users/haverchuck","html_url":"https://github.com/haverchuck","followers_url":"https://api.github.com/users/haverchuck/followers","following_url":"https://api.github.com/users/haverchuck/following{/other_user}","gists_url":"https://api.github.com/users/haverchuck/gists{/gist_id}","starred_url":"https://api.github.com/users/haverchuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haverchuck/subscriptions","organizations_url":"https://api.github.com/users/haverchuck/orgs","repos_url":"https://api.github.com/users/haverchuck/repos","events_url":"https://api.github.com/users/haverchuck/events{/privacy}","received_events_url":"https://api.github.com/users/haverchuck/received_events","type":"User","site_admin":false},"assignees":[{"login":"haverchuck","id":10621276,"node_id":"MDQ6VXNlcjEwNjIxMjc2","avatar_url":"https://avatars1.githubusercontent.com/u/10621276?v=4","gravatar_id":"","url":"https://api.github.com/users/haverchuck","html_url":"https://github.com/haverchuck","followers_url":"https://api.github.com/users/haverchuck/followers","following_url":"https://api.github.com/users/haverchuck/following{/other_user}","gists_url":"https://api.github.com/users/haverchuck/gists{/gist_id}","starred_url":"https://api.github.com/users/haverchuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haverchuck/subscriptions","organizations_url":"https://api.github.com/users/haverchuck/orgs","repos_url":"https://api.github.com/users/haverchuck/repos","events_url":"https://api.github.com/users/haverchuck/events{/privacy}","received_events_url":"https://api.github.com/users/haverchuck/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-06-24T11:41:20Z","updated_at":"2018-11-04T14:07:32Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I am able to sign in using auth.federatedSignin()\r\n\r\nI would like to add the user thus signed in to a group (eg: Admin) on an already existing Identity Pool(eg: sales-app) and then treat this user as any other user that signs in using email and password.\r\n\r\nI need this to allow federated users to be able to access my graphql endpoint.\r\n\r\nI've looked up the documentation but couldn't find anything."},"comment":{"url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/comments/435672661","html_url":"https://github.com/aws-amplify/amplify-js/issues/1096#issuecomment-435672661","issue_url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/1096","id":435672661,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTY3MjY2MQ==","user":{"login":"dabit3","id":1857282,"node_id":"MDQ6VXNlcjE4NTcyODI=","avatar_url":"https://avatars1.githubusercontent.com/u/1857282?v=4","gravatar_id":"","url":"https://api.github.com/users/dabit3","html_url":"https://github.com/dabit3","followers_url":"https://api.github.com/users/dabit3/followers","following_url":"https://api.github.com/users/dabit3/following{/other_user}","gists_url":"https://api.github.com/users/dabit3/gists{/gist_id}","starred_url":"https://api.github.com/users/dabit3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dabit3/subscriptions","organizations_url":"https://api.github.com/users/dabit3/orgs","repos_url":"https://api.github.com/users/dabit3/repos","events_url":"https://api.github.com/users/dabit3/events{/privacy}","received_events_url":"https://api.github.com/users/dabit3/received_events","type":"User","site_admin":false},"created_at":"2018-11-04T14:07:32Z","updated_at":"2018-11-04T14:07:32Z","author_association":"MEMBER","body":"I too have a question about this.\r\n\r\nI currently have Amplify setup with Cognito Federated Identity signup / signin using React Native & the React Native Facebook SDK.\r\n\r\nI'm currently able to sign in via the Auth.federatedSignIn method, but after sign in I'm unable to access resources in the corresponding AWS AppSync API that was configured in the same project using Cognito User Pools.\r\n\r\nI'm guessing this is the case because Cognito does not know anything about the new identity created.\r\n\r\nMy question is this: Is there no way to use the React Native Facebook SDK to authenticate & then send authorized requests to AppSync using the Amplify API category?"}}
{"actor":{"display_login":"dabit3"}}