Auth0 Home Blog Docs

How to login adfs using API

adfs
api-authorization
login-auth0

#1

I am trying to login to adfs using auth0 api .
my api url is - https://oneclick.au.auth0.com/oauth/token
and the data i am sending is
{
“grant_type”:“http://auth0.com/oauth/grant-type/password-realm”,
“realm”:“Username-Password-Authentication”,
“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.


#2