Migrated from Redmine #571 | Author: xarrper ivanov
Status: Rejected | Priority: Normal | Created: 2020-09-14
Hello! Please tell me. I can’t find api for client authentication on the site.
Website: Jazzy Music School | Scheduling and Booking Website
Required API: https://drive.google.com/file/d/1VIHsmkXZmgP9pK5MJyQRYk49PA93BmtW/view
To authenticate these clients: https://drive.google.com/file/d/1dp20lwRYdsPP51jY040RiAHVEiOa4fuW/view?usp=sharing
I know this API exists:
var loginClient = new JSONRpcClient({
‘url’: ‘https://user-api.simplybook.me’ + ‘/login’,
‘onerror’: function (error) {},
});
var token = loginClient.getUserToken(YOUR_COMPANY_LOGIN, YOUR_USER_LOGIN, YOUR_USER_PASSWORD);
but only authenticates system administrators.
Returns an error when authenticating the user
code: -32000
message: “User with this login and password not found”