{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet-websharper/oauth-app/issues/1","repository_url":"https://api.github.com/repos/dotnet-websharper/oauth-app","labels_url":"https://api.github.com/repos/dotnet-websharper/oauth-app/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dotnet-websharper/oauth-app/issues/1/comments","events_url":"https://api.github.com/repos/dotnet-websharper/oauth-app/issues/1/events","html_url":"https://github.com/dotnet-websharper/oauth-app/issues/1","id":324992120,"number":1,"title":"WebException in the callbackfrom github","user":{"login":"giuliohome","id":3272563,"avatar_url":"https://avatars1.githubusercontent.com/u/3272563?v=4","gravatar_id":"","url":"https://api.github.com/users/giuliohome","html_url":"https://github.com/giuliohome","followers_url":"https://api.github.com/users/giuliohome/followers","following_url":"https://api.github.com/users/giuliohome/following{/other_user}","gists_url":"https://api.github.com/users/giuliohome/gists{/gist_id}","starred_url":"https://api.github.com/users/giuliohome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giuliohome/subscriptions","organizations_url":"https://api.github.com/users/giuliohome/orgs","repos_url":"https://api.github.com/users/giuliohome/repos","events_url":"https://api.github.com/users/giuliohome/events{/privacy}","received_events_url":"https://api.github.com/users/giuliohome/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-21T17:12:30Z","updated_at":"2018-05-22T07:53:43Z","closed_at":null,"author_association":"NONE","body":"When I build the sample with the correct app id/secret, after I authorize the login from github, I see the following error in the callback\r\n\r\n`Error: System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.. in System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) in System.Net.HttpWebRequest.GetRequestStream() in WebSharper.OAuth.OAuth2.GetAccessToken@154.Invoke(Unit unitVar) in Microsoft.FSharp.Control.AsyncBuilderImpl.callA@839.Invoke(AsyncParams`1 args)`"},"comment":{"url":"https://api.github.com/repos/dotnet-websharper/oauth-app/issues/comments/390897129","html_url":"https://github.com/dotnet-websharper/oauth-app/issues/1#issuecomment-390897129","issue_url":"https://api.github.com/repos/dotnet-websharper/oauth-app/issues/1","id":390897129,"user":{"login":"Tarmil","id":921395,"avatar_url":"https://avatars0.githubusercontent.com/u/921395?v=4","gravatar_id":"","url":"https://api.github.com/users/Tarmil","html_url":"https://github.com/Tarmil","followers_url":"https://api.github.com/users/Tarmil/followers","following_url":"https://api.github.com/users/Tarmil/following{/other_user}","gists_url":"https://api.github.com/users/Tarmil/gists{/gist_id}","starred_url":"https://api.github.com/users/Tarmil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tarmil/subscriptions","organizations_url":"https://api.github.com/users/Tarmil/orgs","repos_url":"https://api.github.com/users/Tarmil/repos","events_url":"https://api.github.com/users/Tarmil/events{/privacy}","received_events_url":"https://api.github.com/users/Tarmil/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T07:53:43Z","updated_at":"2018-05-22T07:53:43Z","author_association":"MEMBER","body":"Hi, thanks for the report! This should be fixable with a call to this during app startup:\r\n\r\n```fsharp\r\nServicePointManager.SecurityProtocol <- SecurityProtocolType.Tls12\r\n```\r\n\r\nI'll check that it does indeed fix the issue and push a fix."}}
{"actor":{"display_login":"Tarmil"}}