Getting started with passwordless biometric authentication on your website or app using Python

LoginID
2 min readJun 17, 2021

--

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 / Server.

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 an Existing Application

PIP

pip install loginid

or

Github

git clone git@github.com:loginid1/python-sdk.git

cd python-sdk

pip install -e .

Create an SDK Instance

from loginid import LoginID

lid = LoginID(CLIENT_ID, PRIVATE_KEY)

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.

For more information on Application API Reference, click here.

For more information on Management API Reference, click here.

About LoginID

LoginID is a comprehensive FIDO-based multifactor authentication solution that offers frictionless authentication. Created with developers and enterprises in mind, LoginID is FIDO-certified and adheres to PSD2 principles. With an implementation time of just one hour, LoginID’s multifactor authentication solution is a quick, simple to integrate, cost-effective, and regulatorily compliant tool to give your business peace of mind around security, allowing you to focus on growing your business.

Get started for free by checking out the demo here.
Learn more about LoginID’s solutions here.

--

--

LoginID

LoginID is a comprehensive Passkeys + FIDO-based multi factor authentication solution that offers frictionless biometric authentication at low cost.