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:
2023-10-14 11:11:54 -05:00
parent e6f0261a44
commit 629d1bb93a
3 changed files with 14 additions and 7 deletions

View File

@@ -1,7 +0,0 @@
url: https://argocd.pyrocufflink.blue
oidc.config: |
name: Authelia
issuer: https://auth.pyrocufflink.blue
clientID: argocd
clientSecret: $oidc.authelia.clientSecret

View File

@@ -2,3 +2,4 @@ name: Authelia
issuer: https://auth.pyrocufflink.blue
clientID: argocd
clientSecret: $oidc.authelia.clientSecret
cliClientID: argocd-cli