{"action":"closed","issue":{"url":"https://api.github.com/repos/google/shaka-player/issues/802","repository_url":"https://api.github.com/repos/google/shaka-player","labels_url":"https://api.github.com/repos/google/shaka-player/issues/802/labels{/name}","comments_url":"https://api.github.com/repos/google/shaka-player/issues/802/comments","events_url":"https://api.github.com/repos/google/shaka-player/issues/802/events","html_url":"https://github.com/google/shaka-player/issues/802","id":228868235,"number":802,"title":"Problem when defining Authorization header in licence request by registering filter request","user":{"login":"hdodev","id":28717587,"avatar_url":"https://avatars0.githubusercontent.com/u/28717587?v=3","gravatar_id":"","url":"https://api.github.com/users/hdodev","html_url":"https://github.com/hdodev","followers_url":"https://api.github.com/users/hdodev/followers","following_url":"https://api.github.com/users/hdodev/following{/other_user}","gists_url":"https://api.github.com/users/hdodev/gists{/gist_id}","starred_url":"https://api.github.com/users/hdodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdodev/subscriptions","organizations_url":"https://api.github.com/users/hdodev/orgs","repos_url":"https://api.github.com/users/hdodev/repos","events_url":"https://api.github.com/users/hdodev/events{/privacy}","received_events_url":"https://api.github.com/users/hdodev/received_events","type":"User","site_admin":false},"labels":[{"id":511780916,"url":"https://api.github.com/repos/google/shaka-player/labels/CORS%20issue","name":"CORS issue","color":"555555","default":false},{"id":159144981,"url":"https://api.github.com/repos/google/shaka-player/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":{"login":"joeyparrish","id":6843156,"avatar_url":"https://avatars3.githubusercontent.com/u/6843156?v=3","gravatar_id":"","url":"https://api.github.com/users/joeyparrish","html_url":"https://github.com/joeyparrish","followers_url":"https://api.github.com/users/joeyparrish/followers","following_url":"https://api.github.com/users/joeyparrish/following{/other_user}","gists_url":"https://api.github.com/users/joeyparrish/gists{/gist_id}","starred_url":"https://api.github.com/users/joeyparrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeyparrish/subscriptions","organizations_url":"https://api.github.com/users/joeyparrish/orgs","repos_url":"https://api.github.com/users/joeyparrish/repos","events_url":"https://api.github.com/users/joeyparrish/events{/privacy}","received_events_url":"https://api.github.com/users/joeyparrish/received_events","type":"User","site_admin":false},"assignees":[{"login":"joeyparrish","id":6843156,"avatar_url":"https://avatars3.githubusercontent.com/u/6843156?v=3","gravatar_id":"","url":"https://api.github.com/users/joeyparrish","html_url":"https://github.com/joeyparrish","followers_url":"https://api.github.com/users/joeyparrish/followers","following_url":"https://api.github.com/users/joeyparrish/following{/other_user}","gists_url":"https://api.github.com/users/joeyparrish/gists{/gist_id}","starred_url":"https://api.github.com/users/joeyparrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeyparrish/subscriptions","organizations_url":"https://api.github.com/users/joeyparrish/orgs","repos_url":"https://api.github.com/users/joeyparrish/repos","events_url":"https://api.github.com/users/joeyparrish/events{/privacy}","received_events_url":"https://api.github.com/users/joeyparrish/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2017-05-15T22:49:35Z","updated_at":"2017-05-22T12:33:40Z","closed_at":"2017-05-22T12:33:40Z","body":"Hi! Here is my problem description. Do you have an idea? Thanks in advance for your help.\r\n\r\n- Shaka Version : 2.1.1\r\n  - Can you reproduce the issue with our latest release version : YES\r\n  - Can you reproduce the issue with the latest code from `master` : YES\r\n\r\n- Are you using the demo app or your own custom app : CUSTOM\r\n  - If custom app, can you reproduce the issue using our demo app : YES\r\n\r\n- What browser and OS are you using : CHROME(58)/WINDOWS10\r\n\r\n- I try to add an Oauth Authorization header (2 actually) in a licence request by registering a request filter.  player.getNetworkingEngine().registerRequestFilter(function(type, request) {\r\n\t\t\tif (type == shaka.net.NetworkingEngine.RequestType.LICENSE) {\r\n\t\t\t  request.headers['Authorization'] = 'Basic azerty'; ... }}\r\n  - The content is a Live DASH asset\r\n\r\n- What did you expect to happen  : 'Authorization' header added in the POST licence request\r\n\r\n- What actually happened : Unfortunately it doesn't work, Error DRM (6) - LICENSE_REQUEST_FAILED (6007). When checking the request, no 'Authorization' header, but found header  'Access-Control-Request-Header: authorization, and the POST request becomes an OPTIONS request (?!)"}}
{"actor":{"display_login":"hdodev"}}