yuuvis® RAD Q&A

0 votes
by (890 points)

Hello,

we just set up a gateway with ldap authentication.
before we had a Gateway with Basic auth.

When we use the client for Authentication everthing works fine.
But I have a problem when we want to use the ldap gateway with REST.

When I try to send the Basic Auth Header with my LDP username and password
I get an Unauthorized as reply.

Is there a setting or something I have to pay attention to?

1 Answer

0 votes
by (890 points)
 
Best answer

OK I found a solution.

I just send the username and passwort as payload (type application/X-www-form-urlencoded) to the Login URL. (/login)

Then the authentication works.

First I tried to put the authentication into the header like in the Basic auth.
But this didn't work

...