Authentication
Running SmartSelfie™ Authentication on Android
Create a Callback Endpoint
Get your user's Selfie
Submit the Job to Smile ID
Interpret your results
Authenticating a User
The SmartSelfie™ Authentication entails comparing a SmartSelfie™ against the Selfie on file of a registered user. To register a user, the job request payload is exactly the same as a SmartSelfie™ Authentication except for two differences (both changes are to be made in the Making a Job Request section of this page):
Since you are just authenticating the user, you need an already registered
user_id
(details of Key in Making a Job Request section of this page)Set the
job_type
to "2" (details of Key in Making a Job Request section of this page)
If you are performing a SmartSelfie™ Authentication for a user you've previous Registered or performed ran a successful Biometric KYC or Document Verification on, you can skip the "Registering a User" section in the rest of this page.
Get the User's Selfie
To successfully run SmartSelfie™ Authentication jobs you need to submit the user's selfie.When using the Smile ID UI please see Presenting Screens and Selfie Configuration on how to present the selfie capture screen and when using the Smile ID SDK please see Smartselfie Capture on how to integrate directly with the selfie capture view.
Submit the Job to Smile ID
SIDMetadata is useful for information that needs to be sent to Smile ID, it provides a way of setting PartnerParams
which are useful for sending job related information and SIDUserInfo
which is useful for sending user id related information. Once instantiated please reuse the same instance per job but it's important to make sure this is not reused across jobs
Step 1.Set the Partner Params related to the job
Step 2:Create the config
Step 4: Submit the Job
Step 5: Interpret your results
SIDResponse
object will contain results returned from the api this contains strongly typed method to get the response as individual items or as json object or as a string, for more information on how to interpret results you can read more about result codes and responses in the SmartSelfie™ Authentication section of the docs.
Last updated
Was this helpful?