├── .env.local.example ├── .github └── FUNDING.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── app ├── [...proxy] │ └── route.tsx ├── api-example │ └── page.tsx ├── api │ └── protected │ │ └── route.ts ├── auth │ └── [...nextauth] │ │ └── route.ts ├── client-example │ └── page.tsx ├── favicon.ico ├── globals.css ├── layout.tsx ├── middleware-example │ └── page.tsx ├── page.tsx ├── policy │ └── page.tsx └── server-example │ └── page.tsx ├── auth.ts ├── components.json ├── components ├── access-denied.tsx ├── auth-components.tsx ├── client-example.tsx ├── custom-link.tsx ├── footer.module.css ├── footer.tsx ├── header.module.css ├── header.tsx ├── layout.tsx ├── main-nav.tsx ├── session-data.tsx ├── ui │ ├── avatar.tsx │ ├── button.tsx │ ├── dropdown-menu.tsx │ ├── input.tsx │ └── navigation-menu.tsx └── user-button.tsx ├── docker-compose.yml ├── lib └── utils.ts ├── middleware.ts ├── next-env.d.ts ├── next.config.js ├── package.json ├── postcss.config.js ├── public └── logo.png ├── tailwind.config.js ├── test-docker.sh └── tsconfig.json /.env.local.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/.env.local.example -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/README.md -------------------------------------------------------------------------------- /app/[...proxy]/route.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/app/[...proxy]/route.tsx -------------------------------------------------------------------------------- /app/api-example/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/app/api-example/page.tsx -------------------------------------------------------------------------------- /app/api/protected/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/app/api/protected/route.ts -------------------------------------------------------------------------------- /app/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/app/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /app/client-example/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/app/client-example/page.tsx -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/middleware-example/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/app/middleware-example/page.tsx -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/app/page.tsx -------------------------------------------------------------------------------- /app/policy/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/app/policy/page.tsx -------------------------------------------------------------------------------- /app/server-example/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/app/server-example/page.tsx -------------------------------------------------------------------------------- /auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/auth.ts -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components.json -------------------------------------------------------------------------------- /components/access-denied.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/access-denied.tsx -------------------------------------------------------------------------------- /components/auth-components.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/auth-components.tsx -------------------------------------------------------------------------------- /components/client-example.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/client-example.tsx -------------------------------------------------------------------------------- /components/custom-link.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/custom-link.tsx -------------------------------------------------------------------------------- /components/footer.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/footer.module.css -------------------------------------------------------------------------------- /components/footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/footer.tsx -------------------------------------------------------------------------------- /components/header.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/header.module.css -------------------------------------------------------------------------------- /components/header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/header.tsx -------------------------------------------------------------------------------- /components/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/layout.tsx -------------------------------------------------------------------------------- /components/main-nav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/main-nav.tsx -------------------------------------------------------------------------------- /components/session-data.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/session-data.tsx -------------------------------------------------------------------------------- /components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/ui/avatar.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/ui/input.tsx -------------------------------------------------------------------------------- /components/ui/navigation-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/ui/navigation-menu.tsx -------------------------------------------------------------------------------- /components/user-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/components/user-button.tsx -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/middleware.ts -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/public/logo.png -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /test-docker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/test-docker.sh -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nextauthjs/next-auth-example/HEAD/tsconfig.json --------------------------------------------------------------------------------