neo4j-movies-template icon indicating copy to clipboard operation
neo4j-movies-template copied to clipboard

Unsupported authentication token, missing key `principal`

Open Manjukb opened this issue 8 years ago • 2 comments

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

Manjukb avatar Sep 11 '17 06:09 Manjukb

Hello, The app is running as expected for me. Do you see data as expected in the database browser?

whatSocks avatar Sep 29 '17 19:09 whatSocks

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

Let me know if this fixes your problem.

lovubuntu avatar Mar 09 '18 12:03 lovubuntu