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

Drop deprecated MyUSA provider.

[Resolves #390]
This commit is contained in:
Joshua Carp
2017-10-07 23:36:48 -04:00
parent 7b26256df6
commit d118cb7bbb
5 changed files with 5 additions and 206 deletions

View File

@ -72,3 +72,8 @@ func validateToken(p Provider, access_token string, header http.Header) bool {
log.Printf("token validation request failed: status %d - %s", resp.StatusCode, body)
return false
}
func updateURL(url *url.URL, hostname string) {
url.Scheme = "http"
url.Host = hostname
}