Is there a way to login a user with their email and password and receive a token

Is there a way to login a user with their email and password and receive a token back using the authentication api. I am making the api call from a client app. Thanks in advance.

Check this one