Open AlexanderMatveev opened 9 years ago
I was just running into this. I was able to get it working by doing the following:
Change the password for the neo4j user by doing:
curl -H "Content-Type: application/json" -d '{"new_password":"whatever","password":"neo4j}' http://localhost:7474/user/neo4j/password
This will provide you with an authorization_token. If you then use that token as the password field in setAuth
, you should be able to make successful requests.
@keelerm84 This means that we must change password every time?
I don't think so. Once you have generated an authorization_token, that should persist until you specifically request that it generate a new one.
I'm using Getting started code: https://github.com/jadell/neo4jphp/wiki/Getting-started Server has dbms.security.authorization_enabled=true, 7473 is http port.
I'm using neo4jphp:
But this line:
..returns error: