Failed to parse authorization request: Invalid client_id

2,326 views
Skip to first unread message

Xavier Krantz

unread,
Dec 1, 2020, 6:07:30 PM12/1/20
to dex-dev
Hi there !


I am trying to setup Dex as an Identity provider for a project called ArgoWorklow.

However, despite the provided documentation, I end up with an error message from Dex:

```
level=error msg="Failed to parse authorization request: Invalid client_id (\"my-client-id\")."
```

Despite the fact that earlier in the logs
```
level=info msg="config static client: my-client-id"
```


I have tried first:
Dex v2.26.0

I have a working setup with ArgoCD which use Dex v2.22.0.
Tried this version with no success either.

I have compared the config from each Dex instances and expect the value of the ClientSecret and ClientId , there are no differences (Issuer also but that is implied since they are 2 different instances).

Does anyone have any clue for what is causing this error ?


By the way, the URL in the browser looks like it when failing:
https://my-dex-instance.my.domain.com/auth?client_id=my-client-id&redirect_uri=https%3A%2F%2Fargo-workflow.my.domain.com%2Foauth2%2Fcallback&response_type=code&scope=openid&state=O0Az4WqzXc


Thanks !

Xavier Krantz

unread,
Dec 2, 2020, 6:08:56 AM12/2/20
to dex-dev
Nevermind ...

https://github.com/gabibbo97/charts/issues/36

Main discussions about this is:

Currently there are 3 implementations:


Sorry for the noise ...
Reply all
Reply to author
Forward
0 new messages