Exposed rest API basic authentication gives error

Hi,

I'm creating a rest API with basic authentication, but when I test it with Postman it's returning "Invalid username or password" all the time. I've checked the obvious stuff (username and password), but can't find the problem.

Does anyone has some tips?


Kind Regards,

Raymond Lips

Solution

Correct tenant/user-provider?


Solution

I can't beleve i've missed that. Thanks J!

Raymond Lips wrote:

I can't beleve i've missed that. Thanks J!


Even i have the similar issue can you tell me what you did for this to work?


Regards,

Laxmi


In a new (blank) espace, the user provide is set to "(current espace)". After changing it to "Users" the problem was solved

Raymond Lips wrote:

In a new (blank) espace, the user provide is set to "(current espace)". After changing it to "Users" the problem was solved

Do I need to set this user provider module to expose rest api. If yes please let me know where can I find this


The user provider is an espace setting.

Raymond Lips wrote:

The user provider is an espace setting.

I updated this but still facing the issue.