├── .env.local.example ├── .eslintrc.json ├── .github └── workflows │ ├── coana-analysis.yml │ └── coana-guardrail.yml ├── .gitignore ├── .prettierrc ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── next.config.js ├── package.json ├── src ├── app │ ├── back-link.tsx │ ├── favicon.ico │ ├── globals.css │ ├── layout.tsx │ ├── page.tsx │ ├── using-hosted-authkit │ │ ├── README.md │ │ ├── basic │ │ │ ├── callback │ │ │ │ └── route.ts │ │ │ └── page.tsx │ │ ├── page.tsx │ │ ├── with-nextjs │ │ │ ├── callback │ │ │ │ └── route.ts │ │ │ └── page.tsx │ │ └── with-session │ │ │ ├── auth.ts │ │ │ ├── callback │ │ │ └── route.ts │ │ │ └── page.tsx │ └── using-your-own-ui │ │ ├── README.md │ │ ├── mfa │ │ ├── mfa.ts │ │ └── page.tsx │ │ ├── page.tsx │ │ ├── reset-password │ │ ├── page.tsx │ │ └── reset-password.ts │ │ ├── sign-in │ │ ├── email-password │ │ │ ├── email-password.ts │ │ │ └── page.tsx │ │ ├── github-oauth │ │ │ ├── callback │ │ │ │ └── route.ts │ │ │ └── page.tsx │ │ ├── google-oauth │ │ │ ├── callback │ │ │ │ └── route.ts │ │ │ └── page.tsx │ │ ├── magic-auth │ │ │ ├── magic-auth.ts │ │ │ └── page.tsx │ │ ├── microsoft-oauth │ │ │ ├── callback │ │ │ │ └── route.ts │ │ │ └── page.tsx │ │ └── sso │ │ │ ├── callback │ │ │ └── route.ts │ │ │ └── page.tsx │ │ ├── sign-up │ │ ├── email-password │ │ │ ├── email-password.ts │ │ │ └── page.tsx │ │ └── magic-auth │ │ │ ├── magic-auth.ts │ │ │ └── page.tsx │ │ ├── update-user │ │ ├── page.tsx │ │ └── update-user.ts │ │ ├── users-table │ │ ├── loading.tsx │ │ ├── page.tsx │ │ └── users-table.ts │ │ └── verify-email │ │ ├── page.tsx │ │ └── verify-email.ts └── middleware.ts ├── tsconfig.json └── yarn.lock /.env.local.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/.env.local.example -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.github/workflows/coana-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/.github/workflows/coana-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/coana-guardrail.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/.github/workflows/coana-guardrail.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/.prettierrc -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/README.md -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/package.json -------------------------------------------------------------------------------- /src/app/back-link.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/back-link.tsx -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/using-hosted-authkit/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-hosted-authkit/README.md -------------------------------------------------------------------------------- /src/app/using-hosted-authkit/basic/callback/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-hosted-authkit/basic/callback/route.ts -------------------------------------------------------------------------------- /src/app/using-hosted-authkit/basic/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-hosted-authkit/basic/page.tsx -------------------------------------------------------------------------------- /src/app/using-hosted-authkit/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-hosted-authkit/page.tsx -------------------------------------------------------------------------------- /src/app/using-hosted-authkit/with-nextjs/callback/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-hosted-authkit/with-nextjs/callback/route.ts -------------------------------------------------------------------------------- /src/app/using-hosted-authkit/with-nextjs/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-hosted-authkit/with-nextjs/page.tsx -------------------------------------------------------------------------------- /src/app/using-hosted-authkit/with-session/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-hosted-authkit/with-session/auth.ts -------------------------------------------------------------------------------- /src/app/using-hosted-authkit/with-session/callback/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-hosted-authkit/with-session/callback/route.ts -------------------------------------------------------------------------------- /src/app/using-hosted-authkit/with-session/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-hosted-authkit/with-session/page.tsx -------------------------------------------------------------------------------- /src/app/using-your-own-ui/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/README.md -------------------------------------------------------------------------------- /src/app/using-your-own-ui/mfa/mfa.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/mfa/mfa.ts -------------------------------------------------------------------------------- /src/app/using-your-own-ui/mfa/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/mfa/page.tsx -------------------------------------------------------------------------------- /src/app/using-your-own-ui/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/page.tsx -------------------------------------------------------------------------------- /src/app/using-your-own-ui/reset-password/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/reset-password/page.tsx -------------------------------------------------------------------------------- /src/app/using-your-own-ui/reset-password/reset-password.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/reset-password/reset-password.ts -------------------------------------------------------------------------------- /src/app/using-your-own-ui/sign-in/email-password/email-password.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/sign-in/email-password/email-password.ts -------------------------------------------------------------------------------- /src/app/using-your-own-ui/sign-in/email-password/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/sign-in/email-password/page.tsx -------------------------------------------------------------------------------- /src/app/using-your-own-ui/sign-in/github-oauth/callback/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/sign-in/github-oauth/callback/route.ts -------------------------------------------------------------------------------- /src/app/using-your-own-ui/sign-in/github-oauth/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/sign-in/github-oauth/page.tsx -------------------------------------------------------------------------------- /src/app/using-your-own-ui/sign-in/google-oauth/callback/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/sign-in/google-oauth/callback/route.ts -------------------------------------------------------------------------------- /src/app/using-your-own-ui/sign-in/google-oauth/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/sign-in/google-oauth/page.tsx -------------------------------------------------------------------------------- /src/app/using-your-own-ui/sign-in/magic-auth/magic-auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/sign-in/magic-auth/magic-auth.ts -------------------------------------------------------------------------------- /src/app/using-your-own-ui/sign-in/magic-auth/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/sign-in/magic-auth/page.tsx -------------------------------------------------------------------------------- /src/app/using-your-own-ui/sign-in/microsoft-oauth/callback/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/sign-in/microsoft-oauth/callback/route.ts -------------------------------------------------------------------------------- /src/app/using-your-own-ui/sign-in/microsoft-oauth/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/sign-in/microsoft-oauth/page.tsx -------------------------------------------------------------------------------- /src/app/using-your-own-ui/sign-in/sso/callback/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/sign-in/sso/callback/route.ts -------------------------------------------------------------------------------- /src/app/using-your-own-ui/sign-in/sso/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/sign-in/sso/page.tsx -------------------------------------------------------------------------------- /src/app/using-your-own-ui/sign-up/email-password/email-password.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/sign-up/email-password/email-password.ts -------------------------------------------------------------------------------- /src/app/using-your-own-ui/sign-up/email-password/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/sign-up/email-password/page.tsx -------------------------------------------------------------------------------- /src/app/using-your-own-ui/sign-up/magic-auth/magic-auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/sign-up/magic-auth/magic-auth.ts -------------------------------------------------------------------------------- /src/app/using-your-own-ui/sign-up/magic-auth/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/sign-up/magic-auth/page.tsx -------------------------------------------------------------------------------- /src/app/using-your-own-ui/update-user/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/update-user/page.tsx -------------------------------------------------------------------------------- /src/app/using-your-own-ui/update-user/update-user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/update-user/update-user.ts -------------------------------------------------------------------------------- /src/app/using-your-own-ui/users-table/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/users-table/loading.tsx -------------------------------------------------------------------------------- /src/app/using-your-own-ui/users-table/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/users-table/page.tsx -------------------------------------------------------------------------------- /src/app/using-your-own-ui/users-table/users-table.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/users-table/users-table.ts -------------------------------------------------------------------------------- /src/app/using-your-own-ui/verify-email/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/verify-email/page.tsx -------------------------------------------------------------------------------- /src/app/using-your-own-ui/verify-email/verify-email.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/app/using-your-own-ui/verify-email/verify-email.ts -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/workos/authkit/HEAD/yarn.lock --------------------------------------------------------------------------------