git.iko.soy/typeable/oauth2-proxy
on master help sign in
docs: update README and fix code some commentary typos (#2608)

* Update overview.md see: https://github.com/oauth2-proxy/oauth2-proxy/blob/fc701bfd6a992bb074671b91ac89b50a79d3dc3d/pkg/apis/options/options.go#L123 * docs(code-commentary): typo - fixed typo --------- Co-authored-by: Jan Larwig <jan@larwig.com>

commit8dfb7e9b26cb6cb124711bb99ca407732d7af4da authorBlue Falcon <130698314+anonhostpi@users.noreply.github.com> dateMon 24 Jun 2024, 13:15 (2 years ago) parent3460cd4
2 files changed+2−2
docs/docs/configuration/overview.md+1−1 pkg/providers/oidc/provider_verifier.go+1−1
docs/docs/configuration/overview.md+1−1
@@ -161,7 +161,7 @@ An example [oauth2-proxy.cfg](https://github.com/oauth2-proxy/oauth2-proxy/blob/
161161| `--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 |
162162| `--redeem-url` | string | Token redemption endpoint | |
163163| `--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 |
165165| `--redis-cluster-connection-urls` | string \| list | List of Redis cluster connection URLs (e.g. `redis://HOST[:PORT]`). Used in conjunction with `--redis-use-cluster` | |
166166| `--redis-connection-url` | string | URL of redis server for redis session storage (e.g. `redis://HOST[:PORT]`) | |
167167| `--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
116116
117117func getVerifierBuilder(ctx context.Context, opts ProviderVerifierOptions) (verifierBuilder, DiscoveryProvider, error) {
118118 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
120120 return newVerifierBuilder(ctx, opts.IssuerURL, opts.JWKsURL, opts.SupportedSigningAlgs), nil, nil
121121 }
122122