argocd: Configure SSO for CLI
The `argocd` command needs to have its own OIDC client configuration, since it works like a "public" client. To log in, run ```sh argocd login argocd.pyrocufflink.blue --sso ```
This commit is contained in:
@@ -1,7 +0,0 @@
|
|||||||
url: https://argocd.pyrocufflink.blue
|
|
||||||
|
|
||||||
oidc.config: |
|
|
||||||
name: Authelia
|
|
||||||
issuer: https://auth.pyrocufflink.blue
|
|
||||||
clientID: argocd
|
|
||||||
clientSecret: $oidc.authelia.clientSecret
|
|
||||||
@@ -2,3 +2,4 @@ name: Authelia
|
|||||||
issuer: https://auth.pyrocufflink.blue
|
issuer: https://auth.pyrocufflink.blue
|
||||||
clientID: argocd
|
clientID: argocd
|
||||||
clientSecret: $oidc.authelia.clientSecret
|
clientSecret: $oidc.authelia.clientSecret
|
||||||
|
cliClientID: argocd-cli
|
||||||
|
|||||||
@@ -67,10 +67,23 @@ identity_providers:
|
|||||||
pre_configured_consent_duration: 7d
|
pre_configured_consent_duration: 7d
|
||||||
- id: argocd
|
- id: argocd
|
||||||
description: Argo CD
|
description: Argo CD
|
||||||
|
pre_configured_consent_duration: 7d
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
- https://argocd.pyrocufflink.blue/auth/callback
|
- https://argocd.pyrocufflink.blue/auth/callback
|
||||||
secret: >-
|
secret: >-
|
||||||
$pbkdf2-sha512$310000$l/uOezgWjqe3boGLYAnKcg$uqn1FC8Lj2y1NG5Q91PeLfLLUQ.qtlKFLd0AWJ56owLME9mV/Zx8kQ2x7OS/MOoMLmUgKd4zogYKab2HGFr0kw
|
$pbkdf2-sha512$310000$l/uOezgWjqe3boGLYAnKcg$uqn1FC8Lj2y1NG5Q91PeLfLLUQ.qtlKFLd0AWJ56owLME9mV/Zx8kQ2x7OS/MOoMLmUgKd4zogYKab2HGFr0kw
|
||||||
|
- id: argocd-cli
|
||||||
|
description: argocd CLI
|
||||||
|
public: true
|
||||||
|
pre_configured_consent_duration: 7d
|
||||||
|
redirect_uris:
|
||||||
|
- http://localhost:8085/auth/callback
|
||||||
|
scopes:
|
||||||
|
- openid
|
||||||
|
- profile
|
||||||
|
- email
|
||||||
|
- groups
|
||||||
|
- offline_access
|
||||||
|
|
||||||
log:
|
log:
|
||||||
level: trace
|
level: trace
|
||||||
|
|||||||
Reference in New Issue
Block a user