How to use Password connector to generate token using password grant? #2297
Unanswered
surnaja239068
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On executing token URL using Curl I'm getting invalid credentails.
curl -i -k -X POST -d "client_id=ldap&client_secret=ZXhhbXBsZS1hcHAtc2VjcmV0&response_type=token&scope=openid&state=&grant_type=password&username=my-user&password=testing" http://127.0.0.1:5556/dex/token
HTTP/1.1 401 Unauthorized
Content-Length: 76
Content-Type: application/json
Date: Sun, 17 Oct 2021 08:21:15 GMT
{"error":"invalid_client","error_description":"Invalid client credentials."}
Here is my connector configuraiton.
To the example ldap config, added passwordConnector
Beta Was this translation helpful? Give feedback.
All reactions