Error trying to get a user's token through the portal module using rest-api

Greetings, I created the portal module to expose my rest-api services, I want to continue using the token of registered users in the application, but I can not obtain it, the following error always appears:

{
    "error": "unauthorized",
    "error_description": "Bad credentials"
}

Any example of how to do it?.

thanks.

Hello @sarenasp

Could you clarify how are you trying to get access token? Please note that you should use Basic Auth while getting user access token: Getting an OAuth Token

Regards,
Daniil

1 Like