Auth0 Home Blog Docs

How to login adfs using API



I am trying to login to adfs using auth0 api .
my api url is -
and the data i am sending is
“username”: “*",
“password”: "
“scope”: “openid offline_access”,
“client_id”: “************************…”,
“client_secret”: “***************************…”
but i am gettting erto
"error": “invalid_grant”,
“error_description”: “Wrong email or password.”

while i am able to login with the same credential from auth0 login popup.
also i am not able to found correct way for how to use the API.
so please tell me am i doing right or some thing else i should use.
please reply as soon as possible.