DEV Community

Natalie for LoginID

Posted on

2 2

Biometric authentication with Python

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 mode Exit fullscreen mode

Create an SDK Instance

from loginid import LoginID
lid = LoginID(CLIENT_ID, PRIVATE_KEY)
Enter fullscreen mode Exit 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.

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay