vdomah / oc-jwtauth

JWTAuth plugin for October CMS wich provides token based authentication
MIT License
27 stars 20 forks source link

Always get invalid_credentials #20

Open creativepartnership opened 4 years ago

creativepartnership commented 4 years ago

I've followed the plugin instructions and configured the settings.

Schermata 2020-08-17 alle 11 44 52

When i try to login using cURL i always get invalid_credentials, even if's all double checked:

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.

jerasokcm commented 1 year ago

I'm facing the same issue. Always getting "invalid_credencials" response. I was testing with Postman, using the right credentials. I would appreciate some help from the developer, since this is a very important plugin for many developers.