By: guilherme augusto user 26 Aug 2021 at 1:37 p.m. CDT

3 Responses
guilherme augusto gravatar
I am authenticate a client to endpoint https://demoexample.gluu.org/oxauth/restv1/token Now I need to authenticate a user with basic authentication, email and password. How I do that ? With endpoint i can use ?

By Michael Schwartz Account Admin 26 Aug 2021 at 1:49 p.m. CDT

Michael Schwartz gravatar
See the [docs](https://gluu.org/docs/gluu-server/4.2/authn-guide/intro/)

By Davin Cooke Account Admin 27 Aug 2021 at 9:29 a.m. CDT

Davin Cooke gravatar
Spoke to Guilherme and suggested that he work with NetBR locally .. referred him to Eduarado and Andre

By guilherme augusto user 27 Aug 2021 at 11:57 a.m. CDT

guilherme augusto gravatar
I did it. The solution was use basic auth with client_id and secret and On body (x-www-form-urlencoded) with grant_type=password, scope=openid, username=myusername, password=password of user. Thanks Davin Cooke for support