Site icon Hip-Hop Website Design and Development

JSON API how to log in user

I am registering the user, generating auth cookie, validating it but don’t understand how to login.
After hours of googling found this https://yoursite.com/wp-json/wpapp/api/v1/user/login?auth=email . But don’t have such method login in the JSON API User. Even trying in postman with it returns nothing.
After validating the cookie, I can use get_currentuserinfo request and I am seeing the ‘logged in'( as per my understandings ) user ifno. But when refresh the page in the browser, the user is still not logged. I am not sure if this is how the API works, but what is the point if the end client doesn’t sees him logged in.
If you need more information I can provide. Just don’t have custom code and the plugins I am using are as follows:

  1. JSON API
  2. JSON API User
  3. JSON API Auth