[Solved] [Invalid Token] --> Using prisma with node & apache 2.4 [ubuntu 14.04]


Hello community!

I have some issues using prisma with apache on ubuntu server.

The main problem starts with visiting the www.example.com/myapi/_admin page, which is presumably running inside the prisma docker container.


<Location /myapi>

I get an invalid token error{ "message": "Your token is invalid. It might have expired or you might be using a token from a different project.", "code": 3015, "requestId": "local:cjwuuu2aa000z0858ibnvwve1" }

The whole project was running nicely when it was running in Vbox on my computer, yet now I have to transfer it to a server. Both the Vbox setup and server setup should be identical.

Can someone help me out with this?

PS: I tried disabling UFW, yet it doesn’t seem to have impact.

Edit* When I get the token using prisma token and manually paste it in the _admin section - it works, yet that is not a solution.

Final Edit* My mistake, everything was working correctly, I just had to go trough HTTPS