π° Need Test Tokens? Visit the Chronicle Yellowstone
Faucet to get test tokens
for your EOA account.
Overview
Create your own authentication infrastructure using the Lit Protocol Auth Services package. This provides two core services:- Auth Server for PKP minting with various auth methods, and a Worker for background minting operations.
- Login Server for OAuth flows
Dev Network
On the naga-dev network, you donβt need to setup these services yourself, they are already set up for you.Login Server
Auth Server
Test & Production Networks
The following guide is incomplete. More details coming soon for test and production networks on how to setup
these services yourself.
Install the SDK
Run the following command to install the SDK: (Only available using Bun to install at the moment.)Lit Auth Service
1
Create the Lit Auth Service
Create the Lit Auth Service instance.
2
Start the background worker
3
Setup environment variables
Setup the environment variables.
Lit Login Server
1
Create the Lit Login Server
Create the Lit Login Server instance.
2
Setup environment variables