Sign up customers in one API call
AuthKit hosts the sign-up, sign-in and password reset pages for your app. Your backend asks for a link, sends the user there, and AuthKit sends them back when they're done.
Google sign-in built in · OAuth 2.0 + OpenID Connect · Swift SDK
How it works
A sign-up, request by request.
Six requests between the browser, your backend and AuthKit. Pick a step, or let it play.
Step 1 of 6 · Browser → Your backend
The user clicks Sign up in your app
Your app sends them to a route on your own backend.
GET https://yourapp.com/signup
Your API key must stay on your server.Your backend asks AuthKit for links server to server. The key never reaches the browser.
Check the session before you trust it.Your backend must look the session up with AuthKit before it treats the user as signed in.
The request
One call for a sign-up link.
Call it from your backend with your API key. You get back a one-time code and the link to send the user to.
curl -G https://api.authkit.tech/provide/register \
-H "api_key: $AUTHKIT_API_KEY" \
--data-urlencode "redirect_url=https://yourapp.com/welcome"{
"code": "3f1c9a52-8d4e-4b7a-9c61-2e5f0b7d4a18",
"redirect": "https://web.authkit.tech/serve/register?code=3f1c9a52-…"
}- Single use
- The code works once and expires after a short time.
- Allowed redirects only
redirect_urlhas to be on your organization's list of allowed redirect URLs.
MCP servers
Sign-in for your MCP server.
Building an MCP server for Claude and other AI clients? AuthKit can sign its users in.
What you'd build without AuthKit
- Sign-in and sign-up pages
- Password reset, email confirmation
- Authorization and token endpoints
- Registering each MCP client
- Refresh tokens and signing keys
MCP clients register themselves, so there are no client IDs to hand out.
Set up an MCP serverWhat you write instead
{
"resource": "https://mcp.yourapp.com",
"authorization_servers": ["https://api.authkit.tech/<org_id>"]
}import { createRemoteJWKSet, jwtVerify } from "jose";
const jwks = createRemoteJWKSet(
new URL("https://api.authkit.tech/.well-known/jwks.json"),
);
const { payload } = await jwtVerify(token, jwks, {
issuer: "https://api.authkit.tech/<org_id>",
});
// payload.sub is the user, payload.scope what they were grantedWhat's included
The pages, the flows, the standards.
Everything around the sign-in form, hosted and kept up for you.
Hosted pages
Sign-up, sign-in, email confirmation and password reset. Served from AuthKit or your own domain.
The page shows your app's name. Sample shown.
Google sign-in
Works out of the box. Nothing to set up.
Organizations
One per app, each with its own users, API keys and settings.
OAuth 2.0 and OpenID Connect
Use AuthKit as the identity provider for other services.
SDKs
Swift for iOS today. JavaScript is on the way.
Can the pages run on my own domain?
Yes. Hosted pages are served from AuthKit or from your own domain, and they show your app's name.
Where does my API key live?
On your server only. Your backend calls AuthKit server to server; the key must never reach the browser.
How do I know a session is real?
AuthKit sends the user back to your redirect_url with their id and session attached. Your backend looks the session up with AuthKit before trusting it.
Do I register each MCP client?
No. MCP clients register themselves, so there are no client IDs to hand out.
Which SDKs are there?
Swift for iOS today. JavaScript is on the way.
Is it open source?
Yes. The code is on GitHub.
Get started
Create an account, set up an organization, copy its API key.
That's the whole setup.