├── .env.example ├── .gitignore ├── .prettierignore ├── .prettierrc ├── .vscode ├── extensions.json └── settings.json ├── README.md ├── auth.ts ├── components.json ├── eslint.config.mjs ├── next.config.ts ├── package.json ├── postcss.config.mjs ├── prisma.ts ├── prisma └── migrations │ ├── 20250717224533_ │ └── migration.sql │ └── migration_lock.toml ├── public ├── github_icon.svg └── google_icon.svg ├── sentry.edge.config.ts ├── sentry.server.config.ts ├── src ├── app │ ├── api │ │ └── auth │ │ │ └── [...nextauth] │ │ │ └── route.ts │ ├── auth │ │ └── error │ │ │ ├── page.tsx │ │ │ └── types.ts │ ├── authenticated │ │ └── page.tsx │ ├── favicon.ico │ ├── globals.css │ ├── layout.tsx │ └── page.tsx ├── components │ ├── svgs │ │ ├── Github-logo.tsx │ │ ├── Google-logo.tsx │ │ ├── Meta-logo.tsx │ │ └── icon-props.ts │ ├── ui │ │ ├── Accordion.tsx │ │ ├── Breadcrumb.tsx │ │ ├── Button.tsx │ │ ├── Checkbox.tsx │ │ ├── Input.tsx │ │ ├── ProgressBar.tsx │ │ ├── Sonner.tsx │ │ ├── Tabs.tsx │ │ ├── Textarea.tsx │ │ └── index.ts │ └── widgets │ │ ├── Session-error-handler.tsx │ │ ├── Session-status.tsx │ │ ├── Sign-in-modal.tsx │ │ ├── Sign-out-button.tsx │ │ └── Theme-switcher.tsx ├── instrumentation-client.ts ├── instrumentation.ts ├── lib │ ├── auth.config.ts │ └── tw-utils.ts ├── middleware.ts ├── middleware │ ├── routes-helpers.ts │ └── routes-matcher.ts ├── types │ └── next-auth.d.ts └── utils │ └── auth-helper.ts └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | *.svg 2 | README.md -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/README.md -------------------------------------------------------------------------------- /auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/auth.ts -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/components.json -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/next.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/prisma.ts -------------------------------------------------------------------------------- /prisma/migrations/20250717224533_/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/prisma/migrations/20250717224533_/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /public/github_icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/public/github_icon.svg -------------------------------------------------------------------------------- /public/google_icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/public/google_icon.svg -------------------------------------------------------------------------------- /sentry.edge.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/sentry.edge.config.ts -------------------------------------------------------------------------------- /sentry.server.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/sentry.server.config.ts -------------------------------------------------------------------------------- /src/app/api/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/app/api/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /src/app/auth/error/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/app/auth/error/page.tsx -------------------------------------------------------------------------------- /src/app/auth/error/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/app/auth/error/types.ts -------------------------------------------------------------------------------- /src/app/authenticated/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/app/authenticated/page.tsx -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/components/svgs/Github-logo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/svgs/Github-logo.tsx -------------------------------------------------------------------------------- /src/components/svgs/Google-logo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/svgs/Google-logo.tsx -------------------------------------------------------------------------------- /src/components/svgs/Meta-logo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/svgs/Meta-logo.tsx -------------------------------------------------------------------------------- /src/components/svgs/icon-props.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/svgs/icon-props.ts -------------------------------------------------------------------------------- /src/components/ui/Accordion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/ui/Accordion.tsx -------------------------------------------------------------------------------- /src/components/ui/Breadcrumb.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/ui/Breadcrumb.tsx -------------------------------------------------------------------------------- /src/components/ui/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/ui/Button.tsx -------------------------------------------------------------------------------- /src/components/ui/Checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/ui/Checkbox.tsx -------------------------------------------------------------------------------- /src/components/ui/Input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/ui/Input.tsx -------------------------------------------------------------------------------- /src/components/ui/ProgressBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/ui/ProgressBar.tsx -------------------------------------------------------------------------------- /src/components/ui/Sonner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/ui/Sonner.tsx -------------------------------------------------------------------------------- /src/components/ui/Tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/ui/Tabs.tsx -------------------------------------------------------------------------------- /src/components/ui/Textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/ui/Textarea.tsx -------------------------------------------------------------------------------- /src/components/ui/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/ui/index.ts -------------------------------------------------------------------------------- /src/components/widgets/Session-error-handler.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/widgets/Session-error-handler.tsx -------------------------------------------------------------------------------- /src/components/widgets/Session-status.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/widgets/Session-status.tsx -------------------------------------------------------------------------------- /src/components/widgets/Sign-in-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/widgets/Sign-in-modal.tsx -------------------------------------------------------------------------------- /src/components/widgets/Sign-out-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/widgets/Sign-out-button.tsx -------------------------------------------------------------------------------- /src/components/widgets/Theme-switcher.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/components/widgets/Theme-switcher.tsx -------------------------------------------------------------------------------- /src/instrumentation-client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/instrumentation-client.ts -------------------------------------------------------------------------------- /src/instrumentation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/instrumentation.ts -------------------------------------------------------------------------------- /src/lib/auth.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/lib/auth.config.ts -------------------------------------------------------------------------------- /src/lib/tw-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/lib/tw-utils.ts -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /src/middleware/routes-helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/middleware/routes-helpers.ts -------------------------------------------------------------------------------- /src/middleware/routes-matcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/middleware/routes-matcher.ts -------------------------------------------------------------------------------- /src/types/next-auth.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/types/next-auth.d.ts -------------------------------------------------------------------------------- /src/utils/auth-helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/src/utils/auth-helper.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seckinyasar/OAuth-boilerplate/HEAD/tsconfig.json --------------------------------------------------------------------------------