{"action":"reopened","issue":{"url":"https://api.github.com/repos/firebase/firebaseui-web/issues/508","repository_url":"https://api.github.com/repos/firebase/firebaseui-web","labels_url":"https://api.github.com/repos/firebase/firebaseui-web/issues/508/labels{/name}","comments_url":"https://api.github.com/repos/firebase/firebaseui-web/issues/508/comments","events_url":"https://api.github.com/repos/firebase/firebaseui-web/issues/508/events","html_url":"https://github.com/firebase/firebaseui-web/issues/508","id":362494555,"node_id":"MDU6SXNzdWUzNjI0OTQ1NTU=","number":508,"title":"Return CORS headers for the CDN .js files","user":{"login":"dandv","id":33569,"node_id":"MDQ6VXNlcjMzNTY5","avatar_url":"https://avatars3.githubusercontent.com/u/33569?v=4","gravatar_id":"","url":"https://api.github.com/users/dandv","html_url":"https://github.com/dandv","followers_url":"https://api.github.com/users/dandv/followers","following_url":"https://api.github.com/users/dandv/following{/other_user}","gists_url":"https://api.github.com/users/dandv/gists{/gist_id}","starred_url":"https://api.github.com/users/dandv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dandv/subscriptions","organizations_url":"https://api.github.com/users/dandv/orgs","repos_url":"https://api.github.com/users/dandv/repos","events_url":"https://api.github.com/users/dandv/events{/privacy}","received_events_url":"https://api.github.com/users/dandv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-21T07:45:57Z","updated_at":"2018-09-22T01:16:21Z","closed_at":null,"author_association":"NONE","body":"As mentioned in https://github.com/firebase/firebase-js-sdk/issues/332#issuecomment-423402372, trying to [dynamically import](https://developers.google.com/web/updates/2017/11/dynamic-import) `https://cdn.firebase.com/libs/firebaseui/3.4.1/firebaseui.js` fails:\r\n\r\n> Access to Script at 'https://cdn.firebase.com/libs/firebaseui/3.4.1/firebaseui.js' from origin 'http://localhost:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8000' is therefore not allowed access.\r\n\r\nAdding CORS headers would allow loading Firebase Web UI dynamically, a very common use case for logged in users."}}
{"actor":{"display_login":"bojeil-google"}}