argo-cd
argo-cd copied to clipboard
Failed to get token when using OIDC
Describe the bug If you try to login through OIDC provider, sometimes we getting error like this:
failed to get token: Post "https://oauth.id.jumpcloud.com/oauth2/token": EOF
if we try to refresh page we get:
data length is less than nonce size
However if we do login again through OIDC provider - then issue disappear and everything works.
Version
{
"Version": "v2.8.2+dbdfc71",
"BuildDate": "2023-08-24T20:05:39Z",
"GitCommit": "dbdfc712702ce2f781910a795d2e5385a4f5a0f9",
"GitTreeState": "clean",
"GoVersion": "go1.20.6",
"Compiler": "gc",
"Platform": "linux/amd64",
"KustomizeVersion": "v5.1.0 2023-06-19T16:58:18Z",
"HelmVersion": "v3.12.1+gf32a527",
"KubectlVersion": "v0.24.2",
"JsonnetVersion": "v0.20.0"
}
Any luck with this @Hronom? Getting a similar error in a local setup with Keycloak.
No luck, issue still here v2.8.2
Issue still present in latest version. It's annoying.
{
"Version": "v2.10.2+fcf5d8c",
"BuildDate": "2024-03-01T21:24:51Z",
"GitCommit": "fcf5d8c2381b68ab1621b90be63913b12cca2eb7",
"GitTreeState": "clean",
"GoVersion": "go1.21.3",
"Compiler": "gc",
"Platform": "linux/amd64",
"KustomizeVersion": "v5.2.1 2023-10-19T20:13:51Z",
"HelmVersion": "v3.14.2+gc309b6f",
"KubectlVersion": "v0.26.11",
"JsonnetVersion": "v0.20.0"
}
Maintainers, can you check it? Or any ideas what it can be?
cc @crenshaw-dev