Authenticate/Authenticate By Token
Introduction
This endpoint handles the workflow orchestration between the integration services (such as Auth0, Gigya, SSOR, and Firefly) and Subscribe Registration API to authenticate a user.
Comparison
Note:
The old model is in PascalCase, while the new model is in CamelCase.
Cookie tokens will not be returned by the UsersOrchestrator API.
For custom fields, use Metadata.
URL
/Authenticate
/AuthenticateByToken
/v4/Users/Authentication
Method
POST
POST
Request
Response
Authenticate
POST
/v4/Users/Authentication
This endpoint is used to authenticate a user.
Note: The parameters marked with an asterisk (*) are mandatory and must be included in the input model.
Headers
Authorization*
String
JSON Web Token used for security purposes
X-SourceSystem*
String
To identify the consumer or the Source System
X-ClientCode*
String
Client Code of the Tenant
X-PaperCode*
String
Paper Code of the Tenant
X-ClientGroupCode*
String
Client Group Code of the Tenant
Request Body
Token
String
Access token generated in the consumer application
Password
String
Subscriber’s password.
LoginName
String
Subscriber’s login name.
Events
Note:– The associated Event IDs for the Event Type Codes are specified in parentheses (i.e., EventTypeCode (EventID)) in the table below.
LOGIN (60)
AUTHSYSTEM_USER_GETBYID (4601)
SUBSCRIBE_USER_LOGIN (4006)
SUBSCRIBE_USER_GOOGLELOGIN (4012)
For each old LOGIN event, we now create separate events according to the way authentication is handled.
-
SUBSCRIBE_USER_UPDATE (4004)
New event to update User in Subscribe.
GETUSERBYID (1042)
SUBSCRIBE_USER_GETBYID (4001)
AUTHSYSTEM_USER_LOGIN (4605)
For each GETUSERBYID old event, we now create two events: one for the call to the third-party system and one for the call to our database.
Last updated