How it works
Add users to your site effortlessly with our simple, developer-friendly API
Create Your Site
Set up a new site in your dashboard. Configure your redirect URLs and get your unique authentication endpoints that you'll integrate into your website.
Add Signin Links
Place our signup and login URLs on your site, or embed our JavaScript widget. Users click to sign up or sign in, and we handle all the authentication flow for you.
User Gets Redirected
After users sign up or log in, we redirect them back to your callback URL with a secure token. This token contains all the authentication information you need.
Verify & Create User
Make one simple GET request with the token to get the user's information and authentication status. Important: Each token can only be exchanged once for security, but the response includes a long-lived access token for the user's session. Use this data to create or log in the user in your site. We provide complete user data including password digests and algorithms, so you can easily migrate authentication back to your own site whenever you want.
The complete flow in action
Here's exactly what happens when a user signs up through your site
1. User clicks your signup link
2. User gets redirected back to your callback URL
3. Your site verifies the token and gets user data
Returns complete user information including email, name, photo, and password hash
4. User is now logged into your site
Security: Each callback token works only once. The API response includes a long_lived_token for ongoing session management.