<img src="https://github.com/workos/authkit/assets/896475/9fa7a91e-f5a8-4922-96fb-20a7b478d075" width="72" />
<h1 align="center">AuthKit</h1>
How to use AuthKit's hosted UI or build your own frontend with the headless User Management APIs
There are two ways to use AuthKit and this repository contains examples for both:
auth.yourapp.com) to match your application.You will need a WorkOS account.
npm install or yarn install.env.local.example file to .env.local and supply your Client ID and Secret Key.bash
WORKOS_CLIENT_ID="<your Client ID>"
WORKOS_API_KEY="<your Secret Key>"
bash
http://localhost:3000/using-your-own-ui/sign-in/google-oauth/callback
bash
http://localhost:3000/using-your-own-ui/sign-in/microsoft-oauth/callback
bash
http://localhost:3000/using-your-own-ui/sign-in/github-oauth/callback
bash
http://localhost:3000/using-your-own-ui/sign-in/sso/callback
bash
http://localhost:3000/using-hosted-authkit/basic/callback
bash
http://localhost:3000/using-hosted-authkit/with-session/callback
bash
http://localhost:3000/using-hosted-authkit/with-nextjs/callback
npm run dev or yarn dev and navigate to http://localhost:3000$ claude mcp add authkit \
-- python -m otcore.mcp_server <graph>