3
0

Change crust/corteza OIDC provider label

This commit is contained in:
Denis Arh
2019-10-31 10:57:19 +01:00
parent 567260ffa5
commit 7a75c64211

View File

@@ -164,9 +164,9 @@ func (set *ExternalAuthProviderSet) DecodeKV(kv settings.KV, prefix string) (err
case "linkedin":
p.Label = "LinkedIn"
case "corteza-iam", "corteza", "corteza-one":
p.Label = "Corteza One"
p.Label = "Corteza IAM"
case "crust-iam", "crust", "crust-unify":
p.Label = "Crust Unify"
p.Label = "Crust IAM"
default:
if strings.HasPrefix(p.Handle, oidcPrefix) {
p.Label = strings.Title(p.Handle[len(oidcPrefix):])