Token Authentication

📘

The GlobalGateway Ongoing Monitoring service uses Token Authentication as opposed to Basic Authentication used by the rest of Trulioo's services. We have listed the Token endpoint and a sample API call below for clarity

Prerequisites

  • Before you get started, make sure you have either a GAPI user account with access to the Identity Enrollment Service
  • You have tested your credentials using the Test Authentication call.

Enrollment API Endpoint

The Enrollment API Endpoint is different from the standard GlobalGateway endpoint and should only be used to enroll an entity into our Identity Enrolment Service for Ongoing Monitoring.

https://identity-enrollment.prod.trulioo.com

Token Authentication Request

To get the Token for Authentication, submit a POST call to the endpoint below with the Trulioo username and password given to you by the implementation team. This username and password can also allow you to access the Customer Portal to review Transaction History

https://identity-enrollment.prod.trulioo.com/Token

Sample Token Request

{
 "Username": "TRULIOO_USERNAME",
 "Password": "TRULIOO_PASSWORD"
}
POST /Token HTTP/1.1
Host: identity-enrollment.prod.trulioo.com
Content-Type: application/json
Content-Length: 67

{
 "Username": "truliooUserName",
  "Password": "truliooPassword"
}
import requests
import json

url = "https://identity-enrollment.prod.trulioo.com/Token"

payload = json.dumps({
  "Username": "truliooUserName",
  "Password": "truliooPassword"
})
headers = {
  'Content-Type': 'application/json'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

Sample Token Response

{
    "Version": "1.0.0",
    "StatusCode": 200,
    "Message": "POST Request successful.",
    "Result": {
        "Token": TOKEN, 
        "TokenType": "bearer",
        "RefreshToken": REFRESH_TOKEN,
        "ExpiresIn": 3598
    }
}

Did this page help you?