This message was deleted.
# troubleshooting
s
This message was deleted.
t
@MarekM pls follow below for basic auth it has example as well https://gist.github.com/davidagee/c0c839cd23f047b838e8a3ea73320346
seems some issue with your configs kindly try above for basic authentication and see if that works
Also for LDAP authentication with you can use this doc https://support.imply.io/hc/en-us/articles/360041635193
m
I get this error when trying to create a user
t
yeah, do mind sharing the basic authentication config section from common runtime
you can mask the passwords
or you can try directly copy pasting configs from https://gist.github.com/davidagee/c0c839cd23f047b838e8a3ea73320346 and see if that works
m
it seems to work. I still have a problem with the user password
i put this http://localhost:8081/druid-ext/basic-security/authentication/db/MyBasicMetadataAuthenticator/users/<USERNAME>/credentials but how add
Copy code
{
  "password": "password"
}
t
Copy code
curl -XPOST -H'Content-Type: application/json' -d @password.json -uadmin:Pass_From_APISection -k <https://localhost:8281/druid-ext/basic-security/authentication/db/{authenticatorName}/users/john/credentials>
create a file password.json file
cat password.json
Copy code
{
  "password": "password"
}
edit the command as per your values {authenticatorName} username and all
Copy code
curl -XPOST -H'Content-Type: application/json' -d @password.json -u admin  <http://localhost:8081/druid-ext/basic-security/authentication/db/MyBasicMetadataAuthenticator/users/><USERNAME>/credentials
like this
i hope it worked