Skip to content

Commit a52e1e8

Browse files
committed
add none for token-propagation choice
1 parent 116a342 commit a52e1e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type Config struct {
3838
Path string `long:"url-path" env:"URL_PATH" default:"/_oauth" description:"Callback URL Path"`
3939
SecretString string `long:"secret" env:"SECRET" description:"Secret used for signing (required)" json:"-"`
4040
SkipJWTBearerTokens bool `long:"skip-jwt-bearer-tokens" env:"SKIP_JWT_BEARER_TOKENS" description:"Skip cookie validation when JWT tokens are presented in the Authorization header"`
41-
TokenPropagation string `long:"token-propagation" env:"TOKEN_PROPAGATION" default:"header" choice:"header" choice:"bearer" description:"How token is presented when querying the User URL"`
41+
TokenPropagation string `long:"token-propagation" env:"TOKEN_PROPAGATION" default:"none" choice:"header" choice:"bearer" choice:"none" description:"How token is presented when querying the User URL"`
4242
TokenPropagationHeader string `long:"token-propagation-header" env:"TOKEN_PROPAGATION_HEADER" default:"X-Forwarded-Access-Toke" description:"Header to use when token-propagation is set to header. Available when token-propagation is set to header"`
4343
Whitelist CommaSeparatedList `long:"whitelist" env:"WHITELIST" env-delim:"," description:"Only allow given email addresses, can be set multiple times"`
4444
Port int `long:"port" env:"PORT" default:"4181" description:"Port to listen on"`

0 commit comments

Comments
 (0)