Cloud Server Endpoints for Vertec authentication verification in third-party systems
Product line
Standard
|Expert
Operating mode
CLOUD ABO
|ON-PREMISES
Modules
Services & CRM
Budget & Phases
Purchases
Resource Planning
Business Intelligence
Starting with Vertec 6.6.0.10, the Cloud Server offers the possibility to use Vertec to verify that this user’s username/password is known and correct in Vertec.
There are two endpoints:
For each request against the endpoint, a unique nonce is generated. This is returned as JSON as follows:
{ "authnonce": "<randomly_generated_key>" }
This nonce is passed to /authcheck in the X-AUTH-NONCE
header.
Replies /authsettings with a HTTP Status Code 403
and the error output too many active login attempts
, this means that there are up to date too many tokens active. In this case, the request will have to be made again later.
The endpoint expects as input a JSON body with the following parameters:
{ "loginname": "<loginname>", "password": "<password>", "twofactorCode": "<2facode>", }
X-AUTH-NONCE
header. If the request contains no or no valid nonce, the request immediately fails.If the user can be successfully authenticated, the Cloud Server responds with HTTP Status Code 200 OK
and empty body.
If the user name, password, 2FA code or nonce is invalid, the Cloud Server responds with HTTP Status Code 403 FORBIDDEN
. The body contains a short description of the error ('reason’) as JSON:
{ "reason": "<reason>", "message": "<message>" //bei reasons "banned" und "authentication server unavailable" }
invalid nonce
invalid nonce
invalid credentials
invalid credentials
missing 2fa setup
missing 2fa code
invalid credentials
banned
, message = The user is still locked for ... minutes because too many login attempts failed.
too many active login attempts
When activated Openid connect
the Cloud Server answers all requests to /authcheck with 403 Forbidden
with Reason authentication with credentials not allowed
.
If the authentication server is not reachable (for example, when logging in with LDAP), the Cloud Server responds with a HTTP Status Code 500
and the error output reason = authentication server unavailable
, message = Vertec couldn't connect to the ... authentication server.
.
The nonce used is immediately invalidated and is no longer valid for further requests. Each nonce can only be used for a single request, regardless of whether the authentication succeeds or fails.