1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-06-15 00:15:00 +02:00

Github provider

This commit is contained in:
Jehiah Czebotar
2015-05-20 23:23:48 -04:00
parent 8471f972e1
commit 37b38dd2f4
17 changed files with 304 additions and 112 deletions

View File

@ -10,8 +10,7 @@ import (
)
func Request(req *http.Request) (*simplejson.Json, error) {
httpclient := &http.Client{}
resp, err := httpclient.Do(req)
resp, err := http.DefaultClient.Do(req)
if err != nil {
return nil, err
}