forked from mystiq/dex
Merge pull request #2036 from flant/keystone-minor-fixes
chore: add keystone connector icon and bump tests dependencies
This commit is contained in:
commit
e3f8b0f2f6
5 changed files with 22 additions and 3 deletions
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
||||||
options: --health-cmd "ETCDCTL_API=3 etcdctl --endpoints http://localhost:2379 endpoint health" --health-interval 10s --health-timeout 5s --health-retries 5
|
options: --health-cmd "ETCDCTL_API=3 etcdctl --endpoints http://localhost:2379 endpoint health" --health-interval 10s --health-timeout 5s --health-retries 5
|
||||||
|
|
||||||
keystone:
|
keystone:
|
||||||
image: openio/openstack-keystone:pike
|
image: openio/openstack-keystone:rocky
|
||||||
ports:
|
ports:
|
||||||
- 5000
|
- 5000
|
||||||
- 35357
|
- 35357
|
||||||
|
|
|
@ -80,6 +80,7 @@ Dex implements the following connectors:
|
||||||
| [OpenShift](https://dexidp.io/docs/connectors/openshift/) | no | yes | no | alpha | |
|
| [OpenShift](https://dexidp.io/docs/connectors/openshift/) | no | yes | no | alpha | |
|
||||||
| [Atlassian Crowd](https://dexidp.io/docs/connectors/atlassiancrowd/) | yes | yes | yes * | beta | preferred_username claim must be configured through config |
|
| [Atlassian Crowd](https://dexidp.io/docs/connectors/atlassiancrowd/) | yes | yes | yes * | beta | preferred_username claim must be configured through config |
|
||||||
| [Gitea](https://dexidp.io/docs/connectors/gitea/) | yes | no | yes | alpha | |
|
| [Gitea](https://dexidp.io/docs/connectors/gitea/) | yes | no | yes | alpha | |
|
||||||
|
| [OpenStack Keystone](https://dexidp.io/docs/connectors/keystone/) | yes | yes | no | alpha | |
|
||||||
|
|
||||||
Stable, beta, and alpha are defined as:
|
Stable, beta, and alpha are defined as:
|
||||||
|
|
||||||
|
|
|
@ -42,8 +42,8 @@ type domainKeystone struct {
|
||||||
// config:
|
// config:
|
||||||
// keystoneHost: http://example:5000
|
// keystoneHost: http://example:5000
|
||||||
// domain: default
|
// domain: default
|
||||||
// keystoneUsername: demo
|
// keystoneUsername: demo
|
||||||
// keystonePassword: DEMO_PASS
|
// keystonePassword: DEMO_PASS
|
||||||
type Config struct {
|
type Config struct {
|
||||||
Domain string `json:"domain"`
|
Domain string `json:"domain"`
|
||||||
Host string `json:"keystoneHost"`
|
Host string `json:"keystoneHost"`
|
||||||
|
|
12
web/static/img/keystone-icon.svg
Normal file
12
web/static/img/keystone-icon.svg
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="-10 0 210 185">
|
||||||
|
<defs>
|
||||||
|
<style>.cls-1{opacity:0.98;}.cls-2{fill:#ed1944;}</style>
|
||||||
|
</defs>
|
||||||
|
<title>OpenStack_Logo_Mark</title>
|
||||||
|
<g class="cls-1">
|
||||||
|
<path class="cls-2" d="M461.82,215.24h-150a17.17,17.17,0,0,0-17.12,17.12v40.35h41.61v-6.59a9.26,9.26,0,0,1,9.26-9.26h82.53a9.26,9.26,0,0,1,9.26,9.26v6.59H479V232.36A17.18,17.18,0,0,0,461.82,215.24Z" transform="translate(-294.67 -215.24)"/>
|
||||||
|
<path class="cls-2" d="M437.33,344.72a9.27,9.27,0,0,1-9.26,9.26H345.54a9.27,9.27,0,0,1-9.26-9.26v-6.59H294.67v40.34a17.17,17.17,0,0,0,17.12,17.13h150A17.18,17.18,0,0,0,479,378.47V338.13H437.33Z" transform="translate(-294.67 -215.24)"/>
|
||||||
|
<rect class="cls-2" y="69.37" width="41.62" height="41.62"/>
|
||||||
|
<rect class="cls-2" x="142.66" y="69.37" width="41.62" height="41.62"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 905 B |
|
@ -64,6 +64,12 @@ body {
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dex-btn-icon--keystone {
|
||||||
|
background-color: #F5F5F5;
|
||||||
|
background-image: url(../static/img/keystone-icon.svg);
|
||||||
|
background-size: contain;
|
||||||
|
}
|
||||||
|
|
||||||
.dex-btn-icon--oidc {
|
.dex-btn-icon--oidc {
|
||||||
background-color: #EBEBEE;
|
background-color: #EBEBEE;
|
||||||
background-image: url(../static/img/oidc-icon.svg);
|
background-image: url(../static/img/oidc-icon.svg);
|
||||||
|
|
Loading…
Reference in a new issue