πŸ”‘Authentication

1. First We Need To Setup Level Of Trust :

This Setup Allow Us To Configure How Customer Can Authunticate When Using The Plugin.

A. Go To Level Of Trust Page In Your Admin Panel And Click Add new Level Of Trust Button

B. Enter A Name For Level Of Trust And Select Steps To Authenticate Customers:

Hint : If You Select A Step That The Customer Did not Enter While Onboarding This Customer

Must Update this Information First Using Update Plugin Before Authentication.

C. After Creation Of New Level Of Trust Just Copy The Level Of Trust Id To Use In Next Steps:

2. Create Session Token For Authentication:

Second Step When Customer Needs To Verfy (his/her) Identity You Have To Initialize Session By Creating Session Token Using The Following API :

level of Trust token Is The One You Copied In The Previous Step

Applicant Id : You Have To Determine The ID Of The Applicant To Authenticate You Can Find This Id In The Data Returned Back To You In The Callback URL

post
Authorizations
AuthorizationstringRequired

Please insert JWT with Bearer into field

Header parameters
Accept-LanguageStringOptional
Body
tenantIdstring | nullableOptional
tenantSecretstring | nullableOptional
applicantIdstring | nullableOptional
levelOfTrutTokenstring | nullableOptional
Responses
200

Success

post
/api/v1/Auth/GenerateAuthRequestSessionToken

3. Import eNROLL JS File in index.html :

908B
Open

4. Add Div Element With Specifying Id For This Div

5. Initialize eNroll Component Any Where In Your JS File After Document Is Loaded:

You Can Check For Available Error Codes At Errors

6. As A FInal Step You Can Verfiy The Current Status Of this Authentication Using The Following API:

post
Authorizations
AuthorizationstringRequired

Please insert JWT with Bearer into field

Header parameters
Accept-LanguageStringOptional
AuthorizationstringOptional

ex: Bearer

Responses
200

Success

post
/api/v1/authentication/AuthenticationRequest/GetAuthenticationReport

You Can Check For Available Status Codes At Status

Last updated