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

Merge pull request #339 from omazhary/issue-205

Allow to pass user headers only
This commit is contained in:
Jehiah Czebotar
2017-03-28 21:42:29 -04:00
committed by GitHub
6 changed files with 14 additions and 0 deletions

View File

@ -156,6 +156,7 @@ func TestBasicAuthPassword(t *testing.T) {
opts.ClientSecret = "foobar"
opts.CookieSecure = false
opts.PassBasicAuth = true
opts.PassUserHeaders = true
opts.BasicAuthPassword = "This is a secure password"
opts.Validate()