Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
7a03aae
feat: harmonize project configuration
mridang May 12, 2026
8ed5627
feat: harmonize project configuration
mridang May 12, 2026
8d795f5
feat: harmonize project configuration
mridang May 12, 2026
727804b
feat: replace next-auth v4 with @zitadel/next-auth
mridang May 15, 2026
d09999b
fix: align scaffold files with parity standards
mridang May 15, 2026
0bfd591
fix: align devcontainer and gitignore with canonical scaffold
mridang May 15, 2026
3a37a77
fix: route devcontainer commands through devbox to use project-local …
mridang May 15, 2026
66c6251
fix: add missing prettier-plugin-tailwindcss devDependency
mridang May 15, 2026
273524d
fix: add depcheck script
mridang May 15, 2026
516bd15
fix: ignore tsconfig.tsbuildinfo
mridang May 15, 2026
a223c2d
fix: remove version field to match canonical
mridang May 15, 2026
eb32620
chore: add trailing newline to .nvmrc
mridang May 15, 2026
1985e4f
chore: add .devbox/ to .gitignore
mridang May 15, 2026
31eabba
fix: correct git clone URL in README
mridang May 15, 2026
9f2bda0
revert: restore correct git clone URL (remote is example-auth-nextjs)
mridang May 15, 2026
d94f11c
feat: integrate @zitadel/next-auth and refactor auth routes
mridang May 18, 2026
089e48e
fix: deduplicate @auth/core types and move augmentation to .d.ts
mridang May 18, 2026
6483cdf
refactor(profile): redirect unauth users via SDK signInUrl
mridang May 22, 2026
76083d0
refactor(profile): server-side gate via SDK signInUrl
mridang May 22, 2026
e2125a8
chore: drop legacy NEXTAUTH_* env vars and dead 'use client' directive
mridang May 24, 2026
b6d20fe
fix(auth/error): link retry to /auth/login
mridang May 24, 2026
62bb0fc
chore: refresh package-lock + node_modules dependency state
mridang May 24, 2026
ece7bc6
chore: drop dead NEXTAUTH_* env vars from playwright config
mridang May 24, 2026
80b386a
chore(tsconfig): bump target from ES2017 to ES2022
mridang May 24, 2026
61edbc9
chore(deps): switch @zitadel/next-auth@^1.0.0 from file: to published…
mridang May 26, 2026
d53b608
chore: trigger CI
mridang May 26, 2026
94517e4
fix(deps): regenerate lockfile with linux-x64 optional binaries
mridang May 27, 2026
8ca7d88
chore(devcontainer): decouple from devbox
mridang May 27, 2026
594e0f8
chore(knip): drop stale @zitadel/next-auth ignore
mridang May 27, 2026
19e3d17
chore(knip): drop unused globals devDep + remove ignoreDep
mridang May 27, 2026
b55f849
chore: bump tailwind to ^4.3 + prettier plugin to ^0.8 + README v22
mridang May 27, 2026
7948e5e
chore(headers): add Content-Security-Policy + tsconfig PascalCase
mridang May 27, 2026
bbbbac9
docs: add JSDoc on auth helpers + callbacks (parity with astro/nuxt/s…
mridang May 27, 2026
284ef34
chore(login): default callbackUrl to /profile (always submit a value)
mridang May 27, 2026
ad2350a
fix(deps): pin @auth/core to ^0.40.0 + drop stale postcss override
mridang May 28, 2026
e898bc9
fix(deps): restore postcss override (force-bumps nested vulnerable copy)
mridang May 28, 2026
9ef4638
fix: bump @zitadel/next-auth to 1.1.2 for client signIn CSRF fix
mridang May 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"otherPortsAttributes": {
"onAutoForward": "silent"
},
"onCreateCommand": "cp -n .env.example .env.local",
"onCreateCommand": "cp -n .env.example .env",
"updateContentCommand": "npm ci",
"postCreateCommand": "npx playwright install --with-deps chromium",
"customizations": {
Expand Down
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ ZITADEL_POST_LOGOUT_URL="http://localhost:3000/api/auth/logout/callback"
# The full public URL of your application.
# Auth.js requires this to create secure callback and redirect links.
# This is optional for local development but REQUIRED for production.
NEXTAUTH_URL="http://localhost:3000"
AUTH_URL="http://localhost:3000"
59 changes: 26 additions & 33 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,41 +1,34 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
node_modules
.npm

# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
/coverage

# next.js
/.next/
/out/

# production
# Output
.output
.next
.vercel
.netlify
.wrangler
/.svelte-kit
/build

# misc
# OS
.DS_Store
*.pem
Thumbs.db

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
# Env
.env
.env.*
!.env.example
!.env.test

# env files (can opt-in for committing if needed)
.env*
# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*

# vercel
.vercel

# typescript
*.tsbuildinfo
# Next.js generated types
next-env.d.ts

# TypeScript build info
tsconfig.tsbuildinfo

# Devbox
.devbox/
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v22
v22
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ node_modules
*.jpeg
*.gif
*.svg

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Before you begin, ensure you have the following:

#### System Requirements

- Node.js (v20 or later is recommended)
- Node.js (v22 or later is recommended)
- npm, yarn, or pnpm package manager

#### Account Setup
Expand Down
3 changes: 2 additions & 1 deletion knip.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export default {
module.exports = {
ignoreDependencies: ['@commitlint/config-conventional'],
entry: ['src/app/**/*', 'src/components/**/*', 'src/lib/**/*'],
ignore: ['commitlint.config.js'],
};
5 changes: 5 additions & 0 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ const nextConfig: NextConfig = {
key: 'X-Content-Type-Options',
value: 'nosniff',
},
{
key: 'Content-Security-Policy',
value:
"default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline';",
},
{
key: 'Referrer-Policy',
value: 'strict-origin-when-cross-origin',
Expand Down
Loading
Loading