You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-12-21 23:57:36 +02:00
introduce mapstructure decoder for yaml parsing
remove color output in tests for better readability in github actions bugfix: remove google as default provider for alpha options fix conversion flow for toml to yaml revert ginkgo color deactivation revert claim- and secret source back to pointers regenerate alpha config Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
@@ -188,7 +188,7 @@ var _ = Describe("Headers Suite", func() {
|
||||
ClaimSource: &options.ClaimSource{
|
||||
Claim: "user",
|
||||
BasicAuthPassword: &options.SecretSource{
|
||||
Value: []byte(base64.StdEncoding.EncodeToString([]byte("basic-password"))),
|
||||
Value: base64.StdEncoding.EncodeToString([]byte("basic-password")),
|
||||
FromEnv: "SECRET_ENV",
|
||||
},
|
||||
},
|
||||
@@ -304,7 +304,7 @@ var _ = Describe("Headers Suite", func() {
|
||||
Values: []options.HeaderValue{
|
||||
{
|
||||
SecretSource: &options.SecretSource{
|
||||
Value: []byte("_oauth2_proxy=ey123123123"),
|
||||
Value: "_oauth2_proxy=ey123123123",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -314,7 +314,7 @@ var _ = Describe("Headers Suite", func() {
|
||||
Values: []options.HeaderValue{
|
||||
{
|
||||
SecretSource: &options.SecretSource{
|
||||
Value: []byte("oauth_user"),
|
||||
Value: "oauth_user",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -460,7 +460,7 @@ var _ = Describe("Headers Suite", func() {
|
||||
ClaimSource: &options.ClaimSource{
|
||||
Claim: "user",
|
||||
BasicAuthPassword: &options.SecretSource{
|
||||
Value: []byte(base64.StdEncoding.EncodeToString([]byte("basic-password"))),
|
||||
Value: base64.StdEncoding.EncodeToString([]byte("basic-password")),
|
||||
FromEnv: "SECRET_ENV",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user