Back to JWT Auth API Support

ennio.porro
ennio.porro

I've followed the plugin instructions and configured the settings: secret key, signup fields, etc... When i try to login using cURL i always get invalid_credentials, even if i double checked username and password:

curl --request POST --header "Content-Type: application/json" --data '{email:"my_email_address",password:"my_password"}' https://my_server_url/api/login {"error":"invalid_credentials"}

Is there something i'm missing? Thanks in advance.

1-1 of 1