So a slight update was made to the way client authenticate.
Because we've added the ability to use terminal and also the fact you can launch and kill processes, and soon cron jobs/remote downloads will be possible. For any API endpoints to be used, you must login using your machines password, as well as your api.
So when the client first connects to the server it will give you this message
{"endpoint":"connectedToUlterius","results":{"message":"Ulterius server online!","authRequired":true}}
So a slight update was made to the way client authenticate.
Because we've added the ability to use terminal and also the fact you can launch and kill processes, and soon cron jobs/remote downloads will be possible. For any API endpoints to be used, you must login using your machines password, as well as your api.
So when the client first connects to the server it will give you this message
You should then send it the following packet
If successful you'll receive
IF you don't authenticate your connection, you'll receive this when trying to execute any api call
If you want to build a login form, you can use the getWindowsData call to get the username/avatar
This does not require authentication.