Auth0 Home Blog Docs

Integrate login api for my mobile app

auth0

#1

I have integrate auth0.login api for my mobile app, and i passing parameter as below with client id and and domain id
login({
realm: ‘Username-Password-Authentication’, //connection name or HRD domain
username: ‘pratibha.singh@gmail.com’,
password: ‘Pratibha@26’
}}
url: /auth0.com/oauth/token
“grant_type”:“http://auth0.com/oauth/grant-type/password-realm

Also i have added user with this connection.
But Its throwing error
{“error”:“invalid_grant”,“error_description”:“Wrong email or password.”}
I have read many document in auth0, but i am unable to find the solution.