{"action":"opened","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/13736","repository_url":"https://api.github.com/repos/CartoDB/cartodb","labels_url":"https://api.github.com/repos/CartoDB/cartodb/issues/13736/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb/issues/13736/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb/issues/13736/events","html_url":"https://github.com/CartoDB/cartodb/issues/13736","id":306972802,"number":13736,"title":"Activate CORS in the API for requests from carto.com","user":{"login":"albertoac","id":4774531,"avatar_url":"https://avatars2.githubusercontent.com/u/4774531?v=4","gravatar_id":"","url":"https://api.github.com/users/albertoac","html_url":"https://github.com/albertoac","followers_url":"https://api.github.com/users/albertoac/followers","following_url":"https://api.github.com/users/albertoac/following{/other_user}","gists_url":"https://api.github.com/users/albertoac/gists{/gist_id}","starred_url":"https://api.github.com/users/albertoac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertoac/subscriptions","organizations_url":"https://api.github.com/users/albertoac/orgs","repos_url":"https://api.github.com/users/albertoac/repos","events_url":"https://api.github.com/users/albertoac/events{/privacy}","received_events_url":"https://api.github.com/users/albertoac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"javitonino","id":7569673,"avatar_url":"https://avatars3.githubusercontent.com/u/7569673?v=4","gravatar_id":"","url":"https://api.github.com/users/javitonino","html_url":"https://github.com/javitonino","followers_url":"https://api.github.com/users/javitonino/followers","following_url":"https://api.github.com/users/javitonino/following{/other_user}","gists_url":"https://api.github.com/users/javitonino/gists{/gist_id}","starred_url":"https://api.github.com/users/javitonino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javitonino/subscriptions","organizations_url":"https://api.github.com/users/javitonino/orgs","repos_url":"https://api.github.com/users/javitonino/repos","events_url":"https://api.github.com/users/javitonino/events{/privacy}","received_events_url":"https://api.github.com/users/javitonino/received_events","type":"User","site_admin":false},"assignees":[{"login":"javitonino","id":7569673,"avatar_url":"https://avatars3.githubusercontent.com/u/7569673?v=4","gravatar_id":"","url":"https://api.github.com/users/javitonino","html_url":"https://github.com/javitonino","followers_url":"https://api.github.com/users/javitonino/followers","following_url":"https://api.github.com/users/javitonino/following{/other_user}","gists_url":"https://api.github.com/users/javitonino/gists{/gist_id}","starred_url":"https://api.github.com/users/javitonino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javitonino/subscriptions","organizations_url":"https://api.github.com/users/javitonino/orgs","repos_url":"https://api.github.com/users/javitonino/repos","events_url":"https://api.github.com/users/javitonino/events{/privacy}","received_events_url":"https://api.github.com/users/javitonino/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-03-20T17:49:00Z","updated_at":"2018-03-20T17:49:00Z","closed_at":null,"author_association":"NONE","body":"### Context\r\nIn order to be able to get the information from a connected user (name, email address and avatar) in statics websites, we need to do a request to the API (ticket [#1055](https://github.com/CartoDB/design/issues/1055)). Sadly it looks like the CORS doesn't allow requests from carto.com domain. When trying to do a test of a request the following error appears: \r\n\r\n### Current Result\r\n```\r\nFailed to load https://albertoac.carto.com/api/v3/me: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://carto.com' is therefore not allowed access.\r\n```\r\n\r\n### Expected result\r\nGet the json from https://albertoac.carto.com/api/v3/me (or from the user that does the request)\r\n\r\n\r\n### Browser and version\r\nChrome 65\r\n\r\n"}}
{"actor":{"display_login":"albertoac"}}