@@ -163,9 +163,9 @@ func TestEncodedSlashes(t *testing.T) {
164func TestRobotsTxt(t *testing.T) {
164func TestRobotsTxt(t *testing.T) {
165 opts := NewOptions()
165 opts := NewOptions()
166− opts.ClientID = "bazquux"
166+ opts.ClientID = "asdlkjx"
167− opts.ClientSecret = "foobar"
167+ opts.ClientSecret = "alkgks"
168− opts.CookieSecret = "xyzzyplugh"
168+ opts.CookieSecret = "asdkugkj"
169 opts.Validate()
169 opts.Validate()
171 proxy := NewOAuthProxy(opts, func(string) bool { return true })
171 proxy := NewOAuthProxy(opts, func(string) bool { return true })
@@ -178,9 +178,9 @@ func TestRobotsTxt(t *testing.T) {
179func TestIsValidRedirect(t *testing.T) {
179func TestIsValidRedirect(t *testing.T) {
180 opts := NewOptions()
180 opts := NewOptions()
181− opts.ClientID = "bazquux"
181+ opts.ClientID = "skdlfj"
182− opts.ClientSecret = "foobar"
182+ opts.ClientSecret = "fgkdsgj"
183− opts.CookieSecret = "xyzzyplugh"
183+ opts.CookieSecret = "ljgiogbj"
184 // Should match domains that are exactly foo.bar and any subdomain of bar.foo
184 // Should match domains that are exactly foo.bar and any subdomain of bar.foo
185 opts.WhitelistDomains = []string{"foo.bar", ".bar.foo"}
185 opts.WhitelistDomains = []string{"foo.bar", ".bar.foo"}
186 opts.Validate()
186 opts.Validate()
@@ -298,8 +298,8 @@ func TestBasicAuthPassword(t *testing.T) {
298 // The CookieSecret must be 32 bytes in order to create the AES
298 // The CookieSecret must be 32 bytes in order to create the AES
299 // cipher.
299 // cipher.
300 opts.CookieSecret = "xyzzyplughxyzzyplughxyzzyplughxp"
300 opts.CookieSecret = "xyzzyplughxyzzyplughxyzzyplughxp"
301− opts.ClientID = "bazquux"
301+ opts.ClientID = "dlgkj"
302− opts.ClientSecret = "foobar"
302+ opts.ClientSecret = "alkgret"
303 opts.CookieSecure = false
303 opts.CookieSecure = false
304 opts.PassBasicAuth = true
304 opts.PassBasicAuth = true
305 opts.PassUserHeaders = true
305 opts.PassUserHeaders = true
@@ -392,8 +392,8 @@ func NewPassAccessTokenTest(opts PassAccessTokenTestOptions) *PassAccessTokenTes
392 // The CookieSecret must be 32 bytes in order to create the AES
392 // The CookieSecret must be 32 bytes in order to create the AES
393 // cipher.
393 // cipher.
394 t.opts.CookieSecret = "xyzzyplughxyzzyplughxyzzyplughxp"
394 t.opts.CookieSecret = "xyzzyplughxyzzyplughxyzzyplughxp"
395− t.opts.ClientID = "bazquux"
395+ t.opts.ClientID = "slgkj"
396− t.opts.ClientSecret = "foobar"
396+ t.opts.ClientSecret = "gfjgojl"
397 t.opts.CookieSecure = false
397 t.opts.CookieSecure = false
398 t.opts.PassAccessToken = opts.PassAccessToken
398 t.opts.PassAccessToken = opts.PassAccessToken
399 t.opts.Validate()
399 t.opts.Validate()
@@ -518,9 +518,9 @@ func NewSignInPageTest(skipProvider bool) *SignInPageTest {
518 var sipTest SignInPageTest
518 var sipTest SignInPageTest
520 sipTest.opts = NewOptions()
520 sipTest.opts = NewOptions()
521− sipTest.opts.CookieSecret = "foobar"
521+ sipTest.opts.CookieSecret = "adklsj2"
522− sipTest.opts.ClientID = "bazquux"
522+ sipTest.opts.ClientID = "lkdgj"
523− sipTest.opts.ClientSecret = "xyzzyplugh"
523+ sipTest.opts.ClientSecret = "sgiufgoi"
524 sipTest.opts.SkipProviderButton = skipProvider
524 sipTest.opts.SkipProviderButton = skipProvider
525 sipTest.opts.Validate()
525 sipTest.opts.Validate()
@@ -624,8 +624,8 @@ func NewProcessCookieTest(opts ProcessCookieTestOpts, modifiers ...OptionsModifi
624 for _, modifier := range modifiers {
624 for _, modifier := range modifiers {
625 modifier(pcTest.opts)
625 modifier(pcTest.opts)
627− pcTest.opts.ClientID = "bazquux"
627+ pcTest.opts.ClientID = "asdfljk"
628− pcTest.opts.ClientSecret = "xyzzyplugh"
628+ pcTest.opts.ClientSecret = "lkjfdsig"
629 pcTest.opts.CookieSecret = "0123456789abcdefabcd"
629 pcTest.opts.CookieSecret = "0123456789abcdefabcd"
630 // First, set the CookieRefresh option so proxy.AesCipher is created,
630 // First, set the CookieRefresh option so proxy.AesCipher is created,
631 // needed to encrypt the access_token.
631 // needed to encrypt the access_token.
@@ -860,9 +860,9 @@ func TestAuthSkippedForPreflightRequests(t *testing.T) {
861 opts := NewOptions()
861 opts := NewOptions()
862 opts.Upstreams = append(opts.Upstreams, upstream.URL)
862 opts.Upstreams = append(opts.Upstreams, upstream.URL)
863− opts.ClientID = "bazquux"
863+ opts.ClientID = "aljsal"
864− opts.ClientSecret = "foobar"
864+ opts.ClientSecret = "jglkfsdgj"
865− opts.CookieSecret = "xyzzyplugh"
865+ opts.CookieSecret = "dkfjgdls"
866 opts.SkipAuthPreflight = true
866 opts.SkipAuthPreflight = true
867 opts.Validate()
867 opts.Validate()
@@ -999,8 +999,8 @@ func TestNoRequestSignature(t *testing.T) {
999func TestRequestSignatureGetRequest(t *testing.T) {
999func TestRequestSignatureGetRequest(t *testing.T) {
1000 st := NewSignatureTest()
1000 st := NewSignatureTest()
1001 defer st.Close()
1001 defer st.Close()
1002− st.opts.SignatureKey = "sha1:foobar"
1002+ st.opts.SignatureKey = "sha1:7d9e1aa87a5954e6f9fc59266b3af9d7c35fda2d"
1003− st.MakeRequestWithExpectedKey("GET", "", "foobar")
1003+ st.MakeRequestWithExpectedKey("GET", "", "7d9e1aa87a5954e6f9fc59266b3af9d7c35fda2d")
1004 assert.Equal(t, 200, st.rw.Code)
1004 assert.Equal(t, 200, st.rw.Code)
1005 assert.Equal(t, st.rw.Body.String(), "signatures match")
1005 assert.Equal(t, st.rw.Body.String(), "signatures match")
@@ -1008,9 +1008,9 @@ func TestRequestSignatureGetRequest(t *testing.T) {
1008func TestRequestSignaturePostRequest(t *testing.T) {
1008func TestRequestSignaturePostRequest(t *testing.T) {
1009 st := NewSignatureTest()
1009 st := NewSignatureTest()
1010 defer st.Close()
1010 defer st.Close()
1011− st.opts.SignatureKey = "sha1:foobar"
1011+ st.opts.SignatureKey = "sha1:d90df39e2d19282840252612dd7c81421a372f61"
1012 payload := `{ "hello": "world!" }`
1012 payload := `{ "hello": "world!" }`
1013− st.MakeRequestWithExpectedKey("POST", payload, "foobar")
1013+ st.MakeRequestWithExpectedKey("POST", payload, "d90df39e2d19282840252612dd7c81421a372f61")
1014 assert.Equal(t, 200, st.rw.Code)
1014 assert.Equal(t, 200, st.rw.Code)
1015 assert.Equal(t, st.rw.Body.String(), "signatures match")
1015 assert.Equal(t, st.rw.Body.String(), "signatures match")
@@ -1056,9 +1056,9 @@ type ajaxRequestTest struct {
1056func newAjaxRequestTest() *ajaxRequestTest {
1056func newAjaxRequestTest() *ajaxRequestTest {
1057 test := &ajaxRequestTest{}
1057 test := &ajaxRequestTest{}
1058 test.opts = NewOptions()
1058 test.opts = NewOptions()
1059− test.opts.CookieSecret = "foobar"
1059+ test.opts.CookieSecret = "sdflsw"
1060− test.opts.ClientID = "bazquux"
1060+ test.opts.ClientID = "gkljfdl"
1061− test.opts.ClientSecret = "xyzzyplugh"
1061+ test.opts.ClientSecret = "sdflkjs"
1062 test.opts.Validate()
1062 test.opts.Validate()
1063 test.proxy = NewOAuthProxy(test.opts, func(email string) bool {
1063 test.proxy = NewOAuthProxy(test.opts, func(email string) bool {
1064 return true
1064 return true