The Privakey CX Auth Service is a server-deployed, secure API that acts as the broker between Request Origins and End Users.
The primary functions of the Auth Service include:
Governing the binding of User accounts to Privakey CX.
Receiving Generate Request POST requests from Request Origins.
Sending Notifications to registered end user devices.
Responding to GET queries for user, device and request information.
Processing Process Request POST requests from Privakey CX libraries on end user devices.
Responding to Request Origins configured callbacks upon challenge completion.
The Auth Service can support multiple
App Spaces. An App Space is defined by a deployed
App and a single
For example, if a company wanted to support distinct apps for their customer-facing solutions and their employees' self-service applications, they would configure two different App Spaces.
Each App Space includes a minimal
user model and each user can have many
One or more
Request Origins are configured within each App Space. The credentials issued for these Request Origins limit them to interacting with users and devices that have been bound to an account within the App Space.
All Privakey CX endpoints are authenticated by one of the following protocols:
Basic Header Authentication
Session Token Authentication
JSON Web Token Authentication
All API endpoints conform to standard HTTP error handling. Primarily, the Privakey CX Auth Service will respond with a 404-error code for invalid endpoints and 400-error code for improperly formed requests. Unauthorized requests respond with a 401-error code.
Privakey CX Auth Service's logging level is configured in a JSON file. Log format conforms to standard syslog structures and includes timestamps, involved function and error event information. Logs do not include specific or sensitive event-level detail.
The Privakey CX Admin Service logs all events.
All Privakey CX Auth Service API endpoints are restricted to the proper type of requestor (i.e. Request Origins can only access relevant endpoints and are restricted from accessing endpoints leveraged by the CX Libraries).
The Privakey CX source code is protected using industry-standard code obfuscation and tamper-resistance tools.
Privakey CX Auth Service should use TLS for protecting connections to Request origins and the Privakey CX Mobile Libraries. We recommend you set this up during deployment.
Privakey CX configuration variables are defined in Environment Variables or in a configuration file. Privakey recommends and, in some instances, requires the use of Environment Variables for sensitive values.
The Auth Service is extended with an Administrative Portal. The Admin Portal's primary functions include:
Managing App Space organization
Managing Access Credentials for Request Origins
Managing allowable Callback URIs
Managing credentials for the communication service
The Admin Portal is a service that allows administrative users to login in via an email and system generated credentials. Administrative users will have certain rights within the system based on their assigned roles to allow for responsible delegation of Privakey CX configuration.
All Privakey CX API calls require authentication. Privakey CX Auth Service APIs are defined to expect structured content. The API Layer validates that all calls conform to this expected structure prior to calling Auth Service Logic. If a call does not conform the server responds with a 400 error.
Although some API fields could legitimately include hazardous characters (for example Request Content), Privakey CX protects against SQL injection and other potentially hazardous characters by ensuring this content is a properly escaped and typed string that is never processed.
However, it is important that implementers of Privakey CX protect the display of Request content from executing hazardous client side code.
Updated over 2 years ago