{"action":"opened","issue":{"url":"https://api.github.com/repos/w3c/webrtc-pc/issues/190","labels_url":"https://api.github.com/repos/w3c/webrtc-pc/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/w3c/webrtc-pc/issues/190/comments","events_url":"https://api.github.com/repos/w3c/webrtc-pc/issues/190/events","html_url":"https://github.com/w3c/webrtc-pc/issues/190","id":59153616,"number":190,"title":"Add support for TURN authentication via OAuth2 tokens","user":{"login":"juberti","id":1821693,"avatar_url":"https://avatars.githubusercontent.com/u/1821693?v=3","gravatar_id":"","url":"https://api.github.com/users/juberti","html_url":"https://github.com/juberti","followers_url":"https://api.github.com/users/juberti/followers","following_url":"https://api.github.com/users/juberti/following{/other_user}","gists_url":"https://api.github.com/users/juberti/gists{/gist_id}","starred_url":"https://api.github.com/users/juberti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juberti/subscriptions","organizations_url":"https://api.github.com/users/juberti/orgs","repos_url":"https://api.github.com/users/juberti/repos","events_url":"https://api.github.com/users/juberti/events{/privacy}","received_events_url":"https://api.github.com/users/juberti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-26T22:18:32Z","updated_at":"2015-02-26T22:18:32Z","closed_at":null,"body":"As described in https://tools.ietf.org/html/draft-ietf-tram-turn-third-party-authz-13.\r\n\r\nThe implications for RTCPeerConnection are pretty minor, I think. Suggestion:\r\n\r\nenum RTCIceCredentialType {\r\n  \"password\", // normal long-term auth\r\n  \"token\" // OAuth2 token\r\n};\r\n\r\nDictionary RTCIceServer {\r\n  DOMString credential;\r\n  DOMString credentialType;  // if unset, treat as \"password\"\r\n  DOMString username;\r\n  DOMString or sequence<DOMString> urls;\r\n};"}}