git.iko.soy/typeable/oauth2-proxy
on master help sign in
docs: update README and fix code some commentary typos (#2608)
8dfb7e9Blue Falcon
docs/docs/configuration/overview.md+1−1
@@ -161,7 +161,7 @@ An example [oauth2-proxy.cfg](https://github.com/oauth2-proxy/oauth2-proxy/blob/
161| `--real-client-ip-header` | string | Header used to determine the real IP of the client, requires `--reverse-proxy` to be set (one of: X-Forwarded-For, X-Real-IP, or X-ProxyUser-IP) | X-Real-IP |
161| `--real-client-ip-header` | string | Header used to determine the real IP of the client, requires `--reverse-proxy` to be set (one of: X-Forwarded-For, X-Real-IP, or X-ProxyUser-IP) | X-Real-IP |
162| `--redeem-url` | string | Token redemption endpoint | |
162| `--redeem-url` | string | Token redemption endpoint | |
163| `--redirect-url` | string | the OAuth Redirect URL, e.g. `"https://internalapp.yourcompany.com/oauth2/callback"` | |
163| `--redirect-url` | string | the OAuth Redirect URL, e.g. `"https://internalapp.yourcompany.com/oauth2/callback"` | |
164−| `--relative-redirect-url` | bool | allow relative OAuth Redirect URL.` | |
164+| `--relative-redirect-url` | bool | allow relative OAuth Redirect URL.` | false |
165| `--redis-cluster-connection-urls` | string \| list | List of Redis cluster connection URLs (e.g. `redis://HOST[:PORT]`). Used in conjunction with `--redis-use-cluster` | |
165| `--redis-cluster-connection-urls` | string \| list | List of Redis cluster connection URLs (e.g. `redis://HOST[:PORT]`). Used in conjunction with `--redis-use-cluster` | |
166| `--redis-connection-url` | string | URL of redis server for redis session storage (e.g. `redis://HOST[:PORT]`) | |
166| `--redis-connection-url` | string | URL of redis server for redis session storage (e.g. `redis://HOST[:PORT]`) | |
167| `--redis-insecure-skip-tls-verify` | bool | skip TLS verification when connecting to Redis | false |
167| `--redis-insecure-skip-tls-verify` | bool | skip TLS verification when connecting to Redis | false |
pkg/providers/oidc/provider_verifier.go+1−1
@@ -116,7 +116,7 @@ type verifierBuilder func(*oidc.Config) *oidc.IDTokenVerifier
116
116
117func getVerifierBuilder(ctx context.Context, opts ProviderVerifierOptions) (verifierBuilder, DiscoveryProvider, error) {
117func getVerifierBuilder(ctx context.Context, opts ProviderVerifierOptions) (verifierBuilder, DiscoveryProvider, error) {
118 if opts.SkipDiscovery {
118 if opts.SkipDiscovery {
119− // Instead of discovering the JWKs URK, it needs to be specified in the opts already
119+ // Instead of discovering the JWKs URL, it needs to be specified in the opts already
120 return newVerifierBuilder(ctx, opts.IssuerURL, opts.JWKsURL, opts.SupportedSigningAlgs), nil, nil
120 return newVerifierBuilder(ctx, opts.IssuerURL, opts.JWKsURL, opts.SupportedSigningAlgs), nil, nil
121 }
121 }
122
122