{"action":"created","issue":{"url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/2675","repository_url":"https://api.github.com/repos/aws-amplify/amplify-js","labels_url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/2675/labels{/name}","comments_url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/2675/comments","events_url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/2675/events","html_url":"https://github.com/aws-amplify/amplify-js/issues/2675","id":407810073,"node_id":"MDU6SXNzdWU0MDc4MTAwNzM=","number":2675,"title":"Add support for role customisation in the Auth package","user":{"login":"barroij","id":17083144,"node_id":"MDQ6VXNlcjE3MDgzMTQ0","avatar_url":"https://avatars1.githubusercontent.com/u/17083144?v=4","gravatar_id":"","url":"https://api.github.com/users/barroij","html_url":"https://github.com/barroij","followers_url":"https://api.github.com/users/barroij/followers","following_url":"https://api.github.com/users/barroij/following{/other_user}","gists_url":"https://api.github.com/users/barroij/gists{/gist_id}","starred_url":"https://api.github.com/users/barroij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barroij/subscriptions","organizations_url":"https://api.github.com/users/barroij/orgs","repos_url":"https://api.github.com/users/barroij/repos","events_url":"https://api.github.com/users/barroij/events{/privacy}","received_events_url":"https://api.github.com/users/barroij/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":881545386,"node_id":"MDU6TGFiZWw4ODE1NDUzODY=","url":"https://api.github.com/repos/aws-amplify/amplify-js/labels/Cognito","name":"Cognito","color":"006b75","default":false},{"id":772605649,"node_id":"MDU6TGFiZWw3NzI2MDU2NDk=","url":"https://api.github.com/repos/aws-amplify/amplify-js/labels/feature-request","name":"feature-request","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-02-07T17:21:01Z","updated_at":"2019-02-15T04:20:06Z","closed_at":null,"author_association":"NONE","body":"As of today, there is no way to pass the parameter `CustomRoleArn` to amplify so that it is used when getting the credentials (by calling `new AWS.CognitoIdentityCredentials`). It is part of the API : https://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetCredentialsForIdentity.html\r\n\r\nThe alternative is to not use Amplify and to use directly aws-sdk and some other packages.\r\n\r\nSo it would be nice to add support for that !\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/comments/463901064","html_url":"https://github.com/aws-amplify/amplify-js/issues/2675#issuecomment-463901064","issue_url":"https://api.github.com/repos/aws-amplify/amplify-js/issues/2675","id":463901064,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2MzkwMTA2NA==","user":{"login":"undefobj","id":4294295,"node_id":"MDQ6VXNlcjQyOTQyOTU=","avatar_url":"https://avatars0.githubusercontent.com/u/4294295?v=4","gravatar_id":"","url":"https://api.github.com/users/undefobj","html_url":"https://github.com/undefobj","followers_url":"https://api.github.com/users/undefobj/followers","following_url":"https://api.github.com/users/undefobj/following{/other_user}","gists_url":"https://api.github.com/users/undefobj/gists{/gist_id}","starred_url":"https://api.github.com/users/undefobj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/undefobj/subscriptions","organizations_url":"https://api.github.com/users/undefobj/orgs","repos_url":"https://api.github.com/users/undefobj/repos","events_url":"https://api.github.com/users/undefobj/events{/privacy}","received_events_url":"https://api.github.com/users/undefobj/received_events","type":"User","site_admin":false},"created_at":"2019-02-15T04:20:06Z","updated_at":"2019-02-15T04:20:06Z","author_association":"CONTRIBUTOR","body":"Would the Fine Grained Access Control option in this RFC meet your needs? https://github.com/aws-amplify/amplify-cli/issues/766\r\n\r\nThis has the benefit of being controlled by the backend rather than needing to pass this in the client, which could be compromised and also leaks backend implementation into the API (which we would rather avoid)."}}
{"actor":{"display_login":"undefobj"}}