I have successfully imported an existing user using Postman with BCrypt hashed password, and now I am trying to login using the “Primary Authentication with Trusted Application” template in Postman, and all I get is error “Bad request”.
What do I need in the post to successfully log the user in?
{
“username”: “Test123”,
“password” : “xxxxxxxxxx”,
“context”: {
“deviceToken”: “26q43Ak9Eh04p7H6Nnx0m69JqYOrfVBY”
}
}
My headers have Accept and Content-Type set to “application/json” and Authorization set to the same token I used to create the user.