Search code examples
neo4jpy2neo

How to get Neo4j 2.2 Auth/API Token


Is there a way to retrieve the API token from the REST API?


I want to use the py2neo set_auth_token method.

A blog post stated that the server command would return the api token but it does not.

:server connect

It only lists my user.

I installed a completely new Neo4j 2.2 and did not change any configuration. Unforntunately the docs are not very detailed in regards to the api token feature or i did not find the correct page. All i found was: http://neo4j.com/docs/snapshot/rest-api-security.html


Solution

  • The toke based approach was removed in M4. Just use username and password