Authentication
  • 05 Apr 2024
  • 1 Minute to read
  • Contributors
  • PDF

Authentication

  • PDF

Article summary

Knovvu Biometrics uses an HTTP authentication scheme that involves security tokens for secure authentication.

Prerequisites

clientId and clientSecret information must be obtained from the SESTEK Sales Support & Operations Team. Once the subscription is established, Client ID and Client Secret will be sent, which should be utilized for token generation as outlined below.

How to generate a Bearer Token

Token Endpoint:

URL: {{AuthServerBaseUrl}}/connect/token
HTTP Method: POST
Content-Type: application/x-www-form-urlencoded


Request parametersDescription
grant_typeclient_credentials type of grant is used for authentication.
client_idUnique Client Id received from the SESTEK
client_secretUnique Client Secret received from the SESTEK
scopeThe scope of access you are requesting. One of the following values:
- vb-api: the token can be used for core biometrics
- votg-api: the token can be used for real-time biometrics

Examples

Here's an example of a request:

curl --location 'https://identity.vb.useast.knovvu.com/connect/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id=[client_id]' \
--data-urlencode 'client_secret=[client_secret]' \
--data-urlencode 'scope=votg-api'

And the corresponding response:

{
    "access_token": "[token]",
    "token_type": "Bearer",
    "expires_in": 86399
}

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.