{"action":"created","issue":{"url":"https://api.github.com/repos/plaid/plaid-node/issues/72","repository_url":"https://api.github.com/repos/plaid/plaid-node","labels_url":"https://api.github.com/repos/plaid/plaid-node/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/plaid/plaid-node/issues/72/comments","events_url":"https://api.github.com/repos/plaid/plaid-node/issues/72/events","html_url":"https://github.com/plaid/plaid-node/issues/72","id":158955882,"number":72,"title":"CORS issue","user":{"login":"tyvdh","id":4383610,"avatar_url":"https://avatars.githubusercontent.com/u/4383610?v=3","gravatar_id":"","url":"https://api.github.com/users/tyvdh","html_url":"https://github.com/tyvdh","followers_url":"https://api.github.com/users/tyvdh/followers","following_url":"https://api.github.com/users/tyvdh/following{/other_user}","gists_url":"https://api.github.com/users/tyvdh/gists{/gist_id}","starred_url":"https://api.github.com/users/tyvdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyvdh/subscriptions","organizations_url":"https://api.github.com/users/tyvdh/orgs","repos_url":"https://api.github.com/users/tyvdh/repos","events_url":"https://api.github.com/users/tyvdh/events{/privacy}","received_events_url":"https://api.github.com/users/tyvdh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-07T15:38:44Z","updated_at":"2016-06-07T15:39:58Z","closed_at":null,"body":"I'm trying to call the Plaid API from an Ionic app and getting a CORS error.\r\nMy guess is I need a self signed cert or some such thing. Can someone guide me into the best practice for both testing this (localhost, non https env) as well as production inside a hybrid app?\r\n\r\n```\r\nFetch API cannot load https://tartan.plaid.com/connect/get. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.1.151:8100' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.\r\n```"},"comment":{"url":"https://api.github.com/repos/plaid/plaid-node/issues/comments/224321286","html_url":"https://github.com/plaid/plaid-node/issues/72#issuecomment-224321286","issue_url":"https://api.github.com/repos/plaid/plaid-node/issues/72","id":224321286,"user":{"login":"michaelckelly","id":1106237,"avatar_url":"https://avatars.githubusercontent.com/u/1106237?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelckelly","html_url":"https://github.com/michaelckelly","followers_url":"https://api.github.com/users/michaelckelly/followers","following_url":"https://api.github.com/users/michaelckelly/following{/other_user}","gists_url":"https://api.github.com/users/michaelckelly/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelckelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelckelly/subscriptions","organizations_url":"https://api.github.com/users/michaelckelly/orgs","repos_url":"https://api.github.com/users/michaelckelly/repos","events_url":"https://api.github.com/users/michaelckelly/events{/privacy}","received_events_url":"https://api.github.com/users/michaelckelly/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T15:39:58Z","updated_at":"2016-06-07T15:39:58Z","body":"@tyvdh - The `/connect/get` endpoint does not support CORS requests as doing so would require placing your client ID and secret within the app. Instead, we suggest you make the API request from a backend server. That is, your app can make a request to your server which will then make an authenticated Plaid API request."}}
{"actor":{"display_login":"michaelckelly"}}