1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-04-25 12:24:41 +02:00

Merge pull request #663 from Jonher937/patch-1

Make example args a codeblock for OIDC Provider
This commit is contained in:
Joel Speed 2020-07-06 12:18:06 +01:00 committed by GitHub
commit efa1e9b448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,6 +186,7 @@ OpenID Connect is a spec for OAUTH 2.0 + identity that is implemented by many ma
2. Setup oauth2-proxy with the correct provider and using the default ports and callbacks. 2. Setup oauth2-proxy with the correct provider and using the default ports and callbacks.
3. Login with the fixture use in the dex guide and run the oauth2-proxy with the following args: 3. Login with the fixture use in the dex guide and run the oauth2-proxy with the following args:
```
-provider oidc -provider oidc
-provider-display-name "My OIDC Provider" -provider-display-name "My OIDC Provider"
-client-id oauth2-proxy -client-id oauth2-proxy
@ -194,6 +195,7 @@ OpenID Connect is a spec for OAUTH 2.0 + identity that is implemented by many ma
-oidc-issuer-url http://127.0.0.1:5556 -oidc-issuer-url http://127.0.0.1:5556
-cookie-secure=false -cookie-secure=false
-email-domain example.com -email-domain example.com
```
The OpenID Connect Provider (OIDC) can also be used to connect to other Identity Providers such as Okta. To configure the OIDC provider for Okta, perform The OpenID Connect Provider (OIDC) can also be used to connect to other Identity Providers such as Okta. To configure the OIDC provider for Okta, perform
the following steps: the following steps: