Authentication

Authenticate users and servers seamlessly

Support OAuth, passkeys, email & SMS codes, and wallet sign-in under a single user identity.

User Authentication

Every login method, one user identity

Passkeys

Biometric, passwordless login built on WebAuthn. Phishing-resistant, with no passwords or seed phrases.

Email and SMS

Passwordless login with a one-time passcode sent to your user's email or phone.

OAuth and Social Login

Sign in with Google, Apple, X, Discord, GitHub, or LinkedIn, using accounts users already trust.

External Wallets

Let users authenticate with Sign-In With Ethereum or Sign-In With Solana.

Diagram showing a large black circle with a right arrow in the center, linked by lines to four smaller black rounded square icons below representing fingerprint, envelope, user profile, and card or wallet.
Diagram illustrating API authentication, showing three rows each with a code file icon connected by a line to a key icon in the center, which is then connected to a checkmark icon on the right, representing successful authentication.
API Authentication

Only requests signed by your servers execute

Request-Level Signatures

Each signature approves one specific action and can't be reused for another.

Flexible Curves

Use the key type that fits your stack: P-256, SECP256K1, or Ed25519. Create keys from the dashboard, the CLI, or the API.

Resource Policies

Attach policies to wallets, private keys, and other resources, so sensitive actions need approval before they run.

Sessions

Secure sessions with progressive onboarding

Sessions

After a successful login, Turnkey creates a session your app can use for authenticated state or backend requests.

Expiring Keys

Each login issues a temporary API key that expires on its own. The default is 15 minutes, and you can set it to any duration.

Progressive Linking

Users can start with one login method, like email, and link others later, such as a passkey or wallet. Every method resolves to the same user.

Diagram of authentication and session management icons including user profile, key, clock, hourglass, fingerprint, email envelopes, and link symbols arranged vertically and horizontally.

Frequently asked questions

Got any other questions?
Connect with our Support team on Slack.

What authentication methods does Turnkey support?

For end users: passkeys (WebAuthn), email or SMS one-time passcodes, OAuth with Google, Apple, X, Discord, GitHub, and LinkedIn, and external wallets through Sign-In With Ethereum and Sign-In With Solana. For servers: API keys.

What is the difference between API and user authentication?

API authentication is for server-side requests, which Turnkey verifies against your API key. User authentication is for end users and is handled by Turnkey's client-side SDKs.

Do users need a seed phrase?

No. Users sign in with passkeys, a one-time passcode, a social account, or an existing wallet.

Can a user sign in with more than one method?

Yes. Each method can be an upfront login or an account linked later. All methods resolve to a single user object with a unique ID and linked accounts, so a user is treated the same however they sign in.

How do sessions work?

After a successful login, Turnkey creates a session that your app can use to represent authenticated state or make authenticated requests to your backend. Login methods issue expiring API keys that default to 15 minutes.

Can I require approval for sensitive actions?

Yes. Attach authorization policies to wallets, private keys, and other resources so they require approval before they are used or changed.

Get started with Turnkey today

Contact Sales