Saudi Arabia Nafath

Overview

Nafath is Saudi Arabia’s unified digital identity platform, used by over 23 million people to securely access government and private services.

Integration with Trinsic

Nafath verification is integrated into Trinsic's identity acceptance network allowing businesses to verify users against the government system of record in India.

User Flow

Nafath asks a user for their national ID number to begin the verification flow. Then, we present a one-time challenge code. The individual receives a push notification to the Nafath mobile app, where they must match the challenge code presented with the 3 codes presented in the app. Then, they enter their PIN number for verification.

How to Test

Saudi Arabia Nafath offers two test modes (Synchronous and Simulator), with configurable outcomes. These can be used for automated testing and/or demos.

Configuring the Test

  1. Decide on a mock national ID number. The first digit of the national ID number represents the type of individual -- citizen (1), resident (2) or visitor (3-5). Change the first digit depending on what kind of result you wish to see. If you are using the simulator, a random national ID will be generated for you (see below).
  2. Configure Simulator Mode, test outcome and locale.
    1. Enable saudi-arabia-nafath in a Test verification profile and click "configure".

    2. Enable or disable Simulator Mode (see Simulator Mode below). Then, set the desired outcome. Please note that the configured test outcome will always be returned upon session completion. Finally, choose a local, en or ar, which will affect the localization of certain fields in the provider-specific output.

Synchronous Mode

This is the default testing mode, and does not invoke the interactive simulator (see below). Instead, it immediately returns the configured test outcome.

  1. Submit the test ID number for Trinsic verification. Submit your chosen mock national ID number.
  2. Retrieve session results. You will immediately be presented with mock user data depending on the user type -- citizen, resident or visitor.

Simulator Mode

  1. Configure the simulator. In Test Mode, the Trinsic integration uses a simulator hosted publicly at https://nafath.trinsic.id/. Configure a number & a PIN on the Settings page. By default, a random mock National ID is generated for you, but you can customize it if you wish.

  2. Submit the test ID number for Trinsic verification. Enable saudi-arabia-nafath in a Test verification profile and submit the test ID number configured in the simulator. You will be presented with a challenge code. Note: Make sure the simulator is open before you begin the verification, so you can receive the push notification.

  3. Enter the challenge number & PIN in the simulator. The simulator will receive a push notification, and you will be prompted to enter the challenge code presented to you by Trinsic.

  4. Retrieve session results. Upon completion of the verification, you will be presented with mock user data depending on the user type -- citizen, resident or visitor.

Direct API Requirements

📘

Direct API is not a requirement.

You can integrate with this provider using the Hosted UI instead, with no additional integration requirements on your end.

What your integration must support in order to use this provider with the Direct Provider Sessions API.

  • Supports Direct Provider Sessions: ✅
  • Launch Method: ShowContent — Display a piece of content which the user will use to launch themselves into the verification.
  • Collection Method: PollResult — Results arrive asynchronously; poll with the resultsAccessKey returned at session creation.
  • Requires Input: This provider requires input before verification can proceed.
  • Refreshable Step Content: This provider requires shown content to be refreshed periodically.
  • Trinsic-Hosted UI: A Trinsic-Hosted Fallback UI exists for this provider, which may be invoked to cover gaps in your integration's capabilities.

Outputs

ℹ️

Normalized Attributes

These attributes form part of our normalized model, a standardized set used across providers. Trinsic normalizes this for you and lets you know when a property is available for each provider.

FieldAvailabilityNotes
person.givenNameAlways-
person.familyNameAlways-
person.dateOfBirthAlways-
person.nationalitySometimesNot available when the Nafath nationality code has no ISO 3166 country, such as 335 (Tribes Emigrated)
person.sexAlways-
person.address.line1SometimesAvailable for citizens and residents, not available for temporary visa holders
person.address.line2SometimesAvailable for citizens and residents, not available for temporary visa holders
person.address.citySometimesAvailable for citizens and residents, not available for temporary visa holders
person.address.postalCodeSometimesAvailable for citizens and residents, not available for temporary visa holders
person.address.countrySometimesAvailable for citizens and residents, not available for temporary visa holders
document.typeAlways-
document.numberAlways-
document.issueDateSometimesAvailable for citizens and residents, not available for temporary visa holders
document.expirationDateSometimesAvailable for citizens and residents, not available for temporary visa holders
document.issuingCountryAlways-


Did this page help you?