mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-23 01:08:33 +00:00
docs: improve sso oidc documentation regarding client secret (#2341)
This commit is contained in:
parent
4ff56493e6
commit
ad24165eef
1 changed files with 2 additions and 0 deletions
|
|
@ -86,6 +86,8 @@ NOTES:
|
|||
|
||||
* Any values which start with '$' will look to a key in argocd-secret of the same name (minus the $),
|
||||
to obtain the actual value. This allows you to store the `clientSecret` as a kubernetes secret.
|
||||
* If you are editing the secret using `kubectl edit secret` remember that the `data` field expects a base64 encoded value (`echo -n "<CLIENT_SECRET>" | base64`).
|
||||
* The error: *Failed to authenticate: github: get user: github: get URL Get https://api.github.com/user: oauth2: token expired and refresh token is not set* can be attributed to the secret value not being interpreted correctly by dex (e.g. incorrect client secret value).
|
||||
* There is no need to set `redirectURI` in the `connectors.config` as shown in the dex documentation.
|
||||
Argo CD will automatically use the correct `redirectURI` for any OAuth2 connectors, to match the
|
||||
correct external callback URL (e.g. https://argocd.example.com/api/dex/callback)
|
||||
|
|
|
|||
Loading…
Reference in a new issue