hi
I want my users to be able to sign up from my HTML form
I achieve that by seeing a request to my backend API
also can a user access_token contain the “user_metadata”: { “TaxId”:“83764876” }
I am sending on sign up ?
(my app allows password as grant type)
my API calls to https://URL/dbconnections/signup
and it works -> I am getting a valid response (user is created)
login form
I want my users to fill my HTML -> send a request to my backend
when I try to call https://URL/oauth/token from my backend
I am getting
{
“error”: “access_denied”,
“error_description”: “Unauthorized”
}
this is the request
{
“client_id”: “”,
“grant_type”: “password”,
“username”: “addggdu@gmail.com”,
“password”: “”
}
what am I doing wrong?
thanks