Skip to content

Releases: zitadel/nuxt-auth

v2.0.1

21 Jun 22:34

Choose a tag to compare

2.0.1 (2026-06-21)

v2.0.0

26 May 10:03

Choose a tag to compare

2.0.0 (2026-05-26)

  • refactor!: remove local provider support (dbef8e0)

Bug Fixes

  • audit fixes — docs typos, GitHub casing, SignInResult typing, remove stale cookie-es peer dep (a75bba7)
  • enable coverage collection and align report output with other repos (0057fba)
  • fix docs deploy (#1079) (0ee41e7)
  • getServerSession: narrow recursion guard to Auth.js actions only (fefab83)
  • getServerSession: reject non-200 Auth.js responses (d89cd38)
  • gitignore playground-authjs and broaden nuxt ignore in eslint config (230a89f)
  • harden navigateToAuthPage against script protocol injection (edb5376), closes #5 nuxt/nuxt#33273
  • install Playwright browsers in CI test workflow (2e565ed)
  • remove unused external parameter from signIn/signOut/getSession (1833062)
  • replace @nuxtjs/tailwindcss with CDN to fix CI dependency check (cf0844f)
  • send X-Auth-Return-Redirect header in signIn and signOut requests (bac5adc)
  • update vitest.nuxt.config.ts rootDir from playground-authjs to playground (108dc2c), closes #imports
  • use exact path prefix in getServerSession recursion guard (f139dde)
  • use relative doc links, remove unused ModulePublicRuntimeConfig (b768843)
  • use uppercase env var and absolute path for npm cache in devbox (68f877d)

Code Refactoring

  • rename middleware from sidebase-auth to zitadel-auth (6519561)

Features

  • added support for nuxt 4 (336a062)
  • align with Auth.js conventions — AUTH_URL default + type re-exports (186c70b)
  • urls: add signInUrl / signOutUrl helpers (fe0ea3c)

BREAKING CHANGES

  • The middleware name has changed from 'sidebase-auth'
    to 'zitadel-auth'. Update any references in your code:

    definePageMeta({

  • middleware: 'sidebase-auth'
  • middleware: 'zitadel-auth'
    })

🤖 Generated with Claude Code

  • The local provider has been completely removed.
    Only the authjs provider is now supported.
  • Delete src/runtime/composables/local/ directory
  • Delete src/runtime/plugins/refresh-token.server.ts
  • Delete playground-local/ directory
  • Delete tests/local.url.spec.ts
  • Remove ProviderLocal type and local-specific types from types.ts
  • Simplify module.ts to only support authjs
  • Remove JSON pointer utilities from helpers.ts
  • Simplify middleware to remove local provider fallbacks
  • Update refreshHandler to remove local token refresh logic
  • Update tsconfig and package.json scripts

v1.1.0

24 May 12:05

Choose a tag to compare

1.1.0 (2026-05-24)

Bug Fixes

  • getServerSession: narrow recursion guard to Auth.js actions only (fefab83)
  • gitignore playground-authjs and broaden nuxt ignore in eslint config (230a89f)
  • update vitest.nuxt.config.ts rootDir from playground-authjs to playground (108dc2c), closes #imports

Features

  • align with Auth.js conventions — AUTH_URL default + type re-exports (186c70b)
  • urls: add signInUrl / signOutUrl helpers (fe0ea3c)

v1.0.0

07 May 09:24

Choose a tag to compare

1.0.0 (2026-05-07)

  • refactor!: remove local provider support (dbef8e0)

Bug Fixes

Read more