changkun / occamy

🖥️ a modern remote desktop proxy written in Go
https://github.com/changkun/occamy
MIT License
313 stars 54 forks source link

404 error on /api/v1/login #26

Closed denis-b closed 4 years ago

denis-b commented 4 years ago

Hello, I tried to run occamy with real rdp server :

Did I missed something ?

curl http://192.168.201.12:5636/api/v1/connect {"code":401,"message":"cookie token is empty"}

curl http://192.168.201.12:5636/api/v1/login 404 page not found

changkun commented 4 years ago

Thanks for reporting the issue.

I think you didn't enable the client. Occamy doesn't offer /api/v1/login by default. In common practices, a JWT token should not be issued by the service itself due to security issues.

If you would like to test Occamy, modify conf.yaml and enable the web client.

changkun commented 4 years ago

Timeout, close. Feel free to reopen it again.