Redirect URL - a URL that your user is redirected to on successful identity verification.
You can specify multiple redirect URLs in case you have multiple deployment environments and should provide one of them on request the identity verification session and the result details retrieval.
You may use parameters in your redirect URL like ?id=14567678&email=user@business.com. Please avoid use of thecodeone, as before redirect we add it with the granted code in its value.
2) Create the "Sign Up with Authenteq" Button
To initialize the identity process, request the verification session by performing a GET request to:
To issue request, you can use one of the snippets in your target language, just replace <client_id>, <client_secret> and <redirect_url> with proper values:
using System;
using RestSharp.Authenticators;
using RestSharp;
var client = new RestClient("https://api.app.authenteq.com/web-idv/verification-url?redirectUrl=<redirect_url>");
client.Authenticator = new HttpBasicAuthenticator("<client_id>", "<client_secret>");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
In response you will receive a verification URL that leads to Authenteq Identity Server. By following the URL, the user will begin the identity process:
ID scan
liveness check
identity verification - where we verify that the person who performed the liveness test is the document holder.
To inform the user that their identity will be verified using an external service you could use our button:
Here are the HTML and CSS for the button:
<a class="AuthenteqButton" href="<verificationUrl>">
<img class="AuthenteqButton-logo" src="authenteq-logo.png" alt="Authenteq Logo" />
<div class="AuthenteqButton-caption">Sign Up with Authenteq</div>
</a>
When the identify verification process is complete, we will redirect the user to the redirect URL and add the code parameter that you will use to retrieve the verification result details.
If the user interrupts or fails the verification the codewill not be present on the redirect URL. The endpoint you provide as the redirect URL must handle that case. If the code is missing we recommend redirecting the user to the beginning of the flow.
To get the verification result details, perform a GET request to:
To retrieve details you can use one of the snippets we prepared for you, just replace <client_id>, <client_secret> , <redirect_url> and <code> with proper values:
var client = new RestClient("https://api.app.authenteq.com/web-idv/verification-result?code=<code>&redirectUrl=<redirect_url>");
client.Authenticator = new HttpBasicAuthenticator("<client_id>", "<client_secret>")
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);