You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However you still will not be able to to run the curl examples from the Public Client or Private Client section at the bottom of the document
# side-note the hash comment in the middle of the line also breaks shells like zsh, so I have removed it here
curl -L -X POST 'http://localhost:8080/dex/token' \
-H 'Authorization: Basic cHVibGljLWNsaWVudAo=' \
-H 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'scope=openid profile' \
--data-urlencode '[email protected]' \
--data-urlencode 'password=admin'
{"error":"invalid_client","error_description":"Invalid client credentials."}
At first I thought this was due to the fact that in the config the password is actually set to "password" and not "admin", but still the same issue
I have also tried both variations with 'username=admin', but with the same result.
Can you advise how to get retrieving the token using curl to work? Happy to contribute this back to the guide in addition to the adaptations I made above.
The text was updated successfully, but these errors were encountered:
Following the guide at https://dexidp.io/docs/connectors/local/, I am running into some issues:
If you copy the example from the
Obtaining a token
section and set it up with sqllite as storage...You will get
Which is a bit unconvenient, but still can be fixed easily by adding the
web.http
section to the config:And then dex starts
However you still will not be able to to run the curl examples from the
Public Client
orPrivate Client
section at the bottom of the documentAt first I thought this was due to the fact that in the config the password is actually set to "password" and not "admin", but still the same issue
I have also tried both variations with 'username=admin', but with the same result.
Can you advise how to get retrieving the token using curl to work? Happy to contribute this back to the guide in addition to the adaptations I made above.
The text was updated successfully, but these errors were encountered: