In my case I want to return user profile along with auth-token and user id in successful login.
I am using restivus JS for rest api.
curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d 'password=bff99efd&username=%2B919028000877' "http://localhost:3000/api/login"
In my case I want to return user profile along with auth-token and user id in successful login. I am using restivus JS for rest api. curl -X POST -H "Content-Type: application/x-www-form-urlencoded" -d 'password=bff99efd&username=%2B919028000877' "http://localhost:3000/api/login"