Hi, I am working on ArangoDB 3.1 in stand-alone mode. We are creating a 
foxx API to authenticate the users who are accessing our database and our 
custom APIs. In order to activate authentication, we added the following 
statements in the arangod.conf file.

authentication = true
authentication-system-only = true

We created a user in arangosh for the database we are working on. When we 
log into the web console the username and password worked and we are able 
to access the database,APIs and also able to create users using the APIs.

But when we try to access using another browser or using curl command we 
are not able to see the user information. HTTP and curl commands are given 
below.
http://username:password@ip-address:portno/_db/AdtheorentDB/test-app/whoami

curl --basic --user "username:password" -X GET --header 'Accept: 
application/json' 
'http://ip-address:portno/_db/databasename/test-app/whoami'

What might be the issue ? The above curl command is obtained from the link 
given below.
http://stackoverflow.com/questions/21463324/arangodb-authentication-via-http

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to