Added OpenShift documentation to README

This commit is contained in:
Andrew Block 2019-12-22 13:39:40 -05:00
parent 075ab0938e
commit 5afa02644a
No known key found for this signature in database
GPG Key ID: 02DFE631AEF35EBC
2 changed files with 5 additions and 4 deletions

View File

@ -6,7 +6,7 @@ Dex can make use of users and groups defined within OpenShift by querying the pl
## Configuration
Create a new OAuth Client by following the steps described in the documentation for [Registering Additional OAuth Clients[(https://docs.openshift.com/container-platform/latest/authentication/configuring-internal-oauth.html#oauth-register-additional-client_configuring-internal-oauth)
Create a new OAuth Client by following the steps described in the documentation for [Registering Additional OAuth Clients](https://docs.openshift.com/container-platform/latest/authentication/configuring-internal-oauth.html#oauth-register-additional-client_configuring-internal-oauth)
This involves creating a resource similar the following
@ -31,10 +31,10 @@ connectors:
# Required field for connector id.
id: openshift
# Required field for connector name.
name: OppenShift
name: OpenShift
config:
# OpenShift API
baseURL: https://api.mycluster.example.com:6443
issuer: https://api.mycluster.example.com:6443
# Credentials can be string literals or pulled from the environment.
clientID: $OPENSHIFT_OAUTH_CLIENT_ID
clientSecret: $OPENSHIFT_OAUTH_CLIENT_SECRET
@ -47,4 +47,4 @@ connectors:
groups:
- users
```
```

View File

@ -74,6 +74,7 @@ Dex implements the following connectors:
| [Microsoft](Documentation/connectors/microsoft.md) | yes | yes | no | beta | |
| [AuthProxy](Documentation/connectors/authproxy.md) | no | no | no | alpha | Authentication proxies such as Apache2 mod_auth, etc. |
| [Bitbucket Cloud](Documentation/connectors/bitbucketcloud.md) | yes | yes | no | alpha | |
| [OpenShift](Documentation/connectors/openshift.md) | no | yes | no | stable | |
Stable, beta, and alpha are defined as: