Closed macx78 closed 4 years ago
curl -X POST "http://localhost:3000/oauth/token" -d "grant_type=password&client_id=abc123&client_secret=ssh-secret&username=bob&password=secret"
Error: {"error":"server_error","error_description":"authCode is not defined"}
{"error":"server_error","error_description":"authCode is not defined"}
resolved it by changing authCode.userName to const params = { username: user.userName };
const params = { username: user.userName };
curl -X POST "http://localhost:3000/oauth/token" -d "grant_type=password&client_id=abc123&client_secret=ssh-secret&username=bob&password=secret"
Error:
{"error":"server_error","error_description":"authCode is not defined"}