5

Biometric authentication with Python

 3 years ago
source link: https://dev.to/loginid/biometric-authentication-with-python-43pc
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Biometric authentication with Python

Jul 2

・1 min read

Initial Setup
The LoginID Server SDK enables you to perform operations which are protected, enabling much more robust functionality for your users.

Create API Credential on the Dashboard
An application must be created on the LoginID Dashboard in order to correctly configure the Server SDK.

Once logged into the dashboard, navigate to the Applications tab in the sidebar, select “Add Application,” and select Management.

In the resulting form, you must create a name for your application and provide an API credential to be associated with this application. If you have already created an application, we suggest using the naming convention of “{my-app) server.”

When adding the API credential, you can either upload your own public key, or have us generate a key pair on your behalf.

NOTE: All API calls made from a Management integration type require an API Service Token

Add SDK to Existing Application
PIP

pip install -e .
Enter fullscreen modeExit fullscreen mode

Create an SDK Instance

from loginid import LoginID
lid = LoginID(CLIENT_ID, PRIVATE_KEY)
Enter fullscreen modeExit fullscreen mode

NOTE: If using a custom base_url, you can initialize the SDK with that base_url. Otherwise, it will default to the main LoginID production environment.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK