neo4j-movies-template
neo4j-movies-template copied to clipboard
Unsupported authentication token, missing key `principal`
after fallowing all the steps if i try to access 4000 port i get Unsupported authentication token, missing keyprincipal` in api (web service ) console
please let me know the issue
Hello, The app is running as expected for me. Do you see data as expected in the database browser?
Came across the same issue. In my case it was due to username and password missing as environment variable (I've set them in one terminal window where I started the DB and then opened another window to start the api). Once you cd into the api folder
- Set environment variables (Note, the following is for Unix, for Windows you will be using
set=...)- Export your neo4j database username
export MOVIE_DATABASE_USERNAME=myusername - Export your neo4j database password
export MOVIE_DATABASE_PASSWORD=mypassword
- Export your neo4j database username
Let me know if this fixes your problem.