Overview
Auth allows anyone to integrate passwordless web3-native authentication and authorization into their applications. Users can then login using any thirdweb wallet (in-app, browser, or smart wallet).
This allows developers to create a familiar, secure authentication flow that works with traditional backends while leveraging the features of a web3 application.
Get Started
To use Auth in your app, you'll need a client ID. You can get one for free on your thirdweb dashboard.
When using Auth with a smart account, you must specify a client (on createAuth
) and a chain ID (on generatePayload
). The smart account is deployed on a specific chain and the payload must reflect that, and the client is needed to call the wallet contract to verify the signature.
Quickly get started with one of our templates:
Auth integrates with a variety of server-side and client-side development frameworks. We're always adding support for more frameworks, so if you don't see yours, let us know.