2022-07-12 18:27:30 +00:00
---
2022-07-13 07:22:42 +00:00
title: "Argo CD"
description: "Integrating Argo CD with the Authelia OpenID Connect Provider."
2022-07-12 18:27:30 +00:00
lead: ""
2022-09-01 02:24:47 +00:00
date: 2022-07-13T04:27:30+10:00
2022-07-12 18:27:30 +00:00
draft: false
images: []
menu:
integration:
parent: "openid-connect"
weight: 620
toc: true
community: true
---
## Tested Versions
* [Authelia]
* [v4.36.2 ](https://github.com/authelia/authelia/releases/tag/v4.36.2 )
2022-07-13 07:22:42 +00:00
* [Argo CD]
2022-07-12 18:27:30 +00:00
* v2.4.5
## Before You Begin
2023-02-02 01:30:06 +00:00
{{% oidc-common %}}
2022-10-20 04:42:22 +00:00
2022-10-20 04:27:09 +00:00
### Assumptions
2022-07-12 18:27:30 +00:00
This example makes the following assumptions:
* __Application Root URL:__ `https://argocd.example.com`
* __Authelia Root URL:__ `https://auth.example.com`
* __Client ID:__ `argocd`
2023-02-02 01:30:06 +00:00
* __Client Secret:__ `insecure_secret`
2022-07-13 07:22:42 +00:00
* __CLI Client ID:__ `argocd-cli`
2022-07-12 18:27:30 +00:00
## Configuration
### Application
2023-01-25 23:59:18 +00:00
To configure [Argo CD] to utilize Authelia as an [OpenID Connect 1.0] Provider use the following configuration:
2022-07-12 18:27:30 +00:00
```yaml
name: Authelia
issuer: https://auth.example.com
clientID: argocd
2023-02-02 01:30:06 +00:00
clientSecret: insecure_secret
2022-07-13 07:22:42 +00:00
cliClientID: argocd-cli
2022-07-12 18:27:30 +00:00
requestedScopes:
- openid
- profile
- email
- groups
```
### Authelia
The following YAML configuration is an example __Authelia__
2022-07-13 07:22:42 +00:00
[client configuration ](../../../configuration/identity-providers/open-id-connect.md#clients ) for use with [Argo CD]
2022-07-12 18:27:30 +00:00
which will operate with the above example:
```yaml
2023-04-02 03:12:01 +00:00
identity_providers:
oidc:
## The other portions of the mandatory OpenID Connect 1.0 configuration go here.
## See: https://www.authelia.com/c/oidc
clients:
2023-05-07 06:39:17 +00:00
- id: 'argocd'
description: 'Argo CD'
2023-04-02 03:12:01 +00:00
secret: '$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng' # The digest of 'insecure_secret'.
public: false
2023-05-07 06:39:17 +00:00
authorization_policy: 'two_factor'
2023-04-02 03:12:01 +00:00
redirect_uris:
2023-05-07 06:39:17 +00:00
- 'https://argocd.example.com/auth/callback'
2023-04-02 03:12:01 +00:00
scopes:
2023-05-07 06:39:17 +00:00
- 'openid'
- 'groups'
- 'email'
- 'profile'
userinfo_signing_algorithm: 'none'
- id: 'argocd-cli'
description: 'Argo CD (CLI)'
2023-04-02 03:12:01 +00:00
public: true
2023-05-07 06:39:17 +00:00
authorization_policy: 'two_factor'
2023-04-02 03:12:01 +00:00
redirect_uris:
2023-05-07 06:39:17 +00:00
- 'http://localhost:8085/auth/callback'
2023-04-02 03:12:01 +00:00
scopes:
2023-05-07 06:39:17 +00:00
- 'openid'
- 'groups'
- 'email'
- 'profile'
- 'offline_access'
userinfo_signing_algorithm: 'none'
2022-07-12 18:27:30 +00:00
```
## See Also
2022-07-13 07:22:42 +00:00
* [Argo CD OpenID Connect Documentation ](https://argo-cd.readthedocs.io/en/stable/operator-manual/user-management/#existing-oidc-provider )
2022-07-12 18:27:30 +00:00
[Authelia]: https://www.authelia.com
2022-07-13 07:22:42 +00:00
[Argo CD]: https://argo-cd.readthedocs.io/en/stable/
2023-01-25 23:59:18 +00:00
[OpenID Connect 1.0]: ../../openid-connect/introduction.md
2022-07-12 18:27:30 +00:00