Lucia
Start here
Getting-started
Database
Upgrade to v3
v2 documentation
Tutorials
GitHub OAuth
Username and password
Basics
Sessions
Users
Configuration
Guides
Validate session cookies
Validate bearer tokens
OAuth
Email and password
Troubleshooting
Passkeys
Improving sessions
API reference
lucia
Community
Discord
GitHub
Twitter
Donate
UserId
User ID.
Definition
type
UserId
=
string
;