Skip to content

fix: fix docs deploy#1079

Merged
phoenix-ru merged 3 commits into
mainfrom
fix/fix-docs-deploy
Jan 30, 2026
Merged

fix: fix docs deploy#1079
phoenix-ru merged 3 commits into
mainfrom
fix/fix-docs-deploy

Conversation

@phoenix-ru
Copy link
Copy Markdown
Member

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Fixes the docs deploy problem in GitHub Actions (failed run)

📝 Checklist

  • I have linked an issue or discussion.
  • I have added tests (if possible).
  • I have updated the documentation accordingly.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Jan 30, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@sidebase/nuxt-auth@1079

commit: 764ba52

@phoenix-ru phoenix-ru merged commit 0ee41e7 into main Jan 30, 2026
7 checks passed
@phoenix-ru phoenix-ru deleted the fix/fix-docs-deploy branch January 30, 2026 08:58
github-actions Bot pushed a commit to zitadel/nuxt-auth that referenced this pull request May 7, 2026
# 1.0.0 (2026-05-07)

* refactor!: remove local provider support ([dbef8e0](dbef8e0))

### Bug Fixes

* [sidebase#356](https://github.com/zitadel/nuxt-auth/issues/356) - Extend/change local signIn credentials type to allow all kinds of data to be passed with the login request ([sidebase#375](https://github.com/zitadel/nuxt-auth/issues/375)) ([1f5ecdc](1f5ecdc))
* **sidebase#1042,sidebase#1052:** handle value returned by navigateToAuthPage ([sidebase#1057](https://github.com/zitadel/nuxt-auth/issues/1057)) ([5bb5478](5bb5478)), closes [sidebase#1042](https://github.com/zitadel/nuxt-auth/issues/1042) [sidebase#1052](https://github.com/zitadel/nuxt-auth/issues/1052) [sidebase#1042](https://github.com/zitadel/nuxt-auth/issues/1042)
* **sidebase#1063:** always include browser cookies by default ([sidebase#1065](https://github.com/zitadel/nuxt-auth/issues/1065)) ([a34eff1](a34eff1)), closes [sidebase#1063](https://github.com/zitadel/nuxt-auth/issues/1063)
* **sidebase#523:** deduplicate `appendHeader` in auth handler ([sidebase#693](https://github.com/zitadel/nuxt-auth/issues/693)) ([7ae1d3a](7ae1d3a)), closes [sidebase#523](https://github.com/zitadel/nuxt-auth/issues/523) [sidebase#523](https://github.com/zitadel/nuxt-auth/issues/523)
* **sidebase#732:** disable server side refresh token plugin when disableServerSideAuth ([sidebase#1021](https://github.com/zitadel/nuxt-auth/issues/1021)) ([58193dd](58193dd)), closes [sidebase#732](https://github.com/zitadel/nuxt-auth/issues/732)
* **sidebase#792:** do not block login page for refresh provider ([sidebase#814](https://github.com/zitadel/nuxt-auth/issues/814)) ([8cbe629](8cbe629)), closes [sidebase#792](https://github.com/zitadel/nuxt-auth/issues/792)
* **sidebase#793:** avoid using nitro on client ([sidebase#817](https://github.com/zitadel/nuxt-auth/issues/817)) ([53a50f4](53a50f4)), closes [sidebase#793](https://github.com/zitadel/nuxt-auth/issues/793)
* **sidebase#834:** Do not refresh on window focus for unprotected pages ([sidebase#858](https://github.com/zitadel/nuxt-auth/issues/858)) ([de1dca6](de1dca6)), closes [sidebase#834](https://github.com/zitadel/nuxt-auth/issues/834)
* **sidebase#860:** make node version requirement less strict ([sidebase#865](https://github.com/zitadel/nuxt-auth/issues/865)) ([8b074e5](8b074e5)), closes [sidebase#860](https://github.com/zitadel/nuxt-auth/issues/860)
* **sidebase#879:** do not format `refresh_token` ([sidebase#886](https://github.com/zitadel/nuxt-auth/issues/886)) ([15630ca](15630ca)), closes [sidebase#879](https://github.com/zitadel/nuxt-auth/issues/879)
* **sidebase#896:** set rawRefreshToken default value ([sidebase#899](https://github.com/zitadel/nuxt-auth/issues/899)) ([ccf7ba0](ccf7ba0)), closes [sidebase#896](https://github.com/zitadel/nuxt-auth/issues/896)
* **sidebase#922:** always proxy cookies in signIn and getSession ([sidebase#1067](https://github.com/zitadel/nuxt-auth/issues/1067)) ([ed9afad](ed9afad)), closes [sidebase#922](https://github.com/zitadel/nuxt-auth/issues/922) [sidebase#922](https://github.com/zitadel/nuxt-auth/issues/922)
* **sidebase#926:** correct and clarify Guest Mode ([sidebase#929](https://github.com/zitadel/nuxt-auth/issues/929)) ([1aa5e17](1aa5e17)), closes [sidebase#926](https://github.com/zitadel/nuxt-auth/issues/926)
* **sidebase#927:** fix the warnings produced by Nuxt when awaiting runtime config ([sidebase#959](https://github.com/zitadel/nuxt-auth/issues/959)) ([b1db6ec](b1db6ec))
* **sidebase#967:** allow `signUp` endpoint to be disabled ([sidebase#968](https://github.com/zitadel/nuxt-auth/issues/968)) ([52d4b9a](52d4b9a)), closes [sidebase#967](https://github.com/zitadel/nuxt-auth/issues/967)
* **sidebase#970:** make redirect implementation match Nuxt's ([sidebase#985](https://github.com/zitadel/nuxt-auth/issues/985)) ([0d3181c](0d3181c)), closes [sidebase#970](https://github.com/zitadel/nuxt-auth/issues/970)
* **sidebase#984:** allow custom endpoint subpaths for authjs ([sidebase#986](https://github.com/zitadel/nuxt-auth/issues/986)) ([d975989](d975989)), closes [sidebase#984](https://github.com/zitadel/nuxt-auth/issues/984)
* **sidebase#990:** use a dedicated `host` calculation for `authjs` ([sidebase#992](https://github.com/zitadel/nuxt-auth/issues/992)) ([e62f677](e62f677)), closes [sidebase#990](https://github.com/zitadel/nuxt-auth/issues/990) [sidebase#990](https://github.com/zitadel/nuxt-auth/issues/990)
* `loading` status was always loading when no initial session was set ([sidebase#393](https://github.com/zitadel/nuxt-auth/issues/393)) ([3be5b06](3be5b06))
* `navigateTo` throws error on local provider ([sidebase#540](https://github.com/zitadel/nuxt-auth/issues/540)) ([26aaa45](26aaa45))
* Abort SSR rendering on redirect ([sidebase#438](https://github.com/zitadel/nuxt-auth/issues/438)) ([6b9da1a](6b9da1a))
* accept boolean value for globalAppMiddleware option ([sidebase#423](https://github.com/zitadel/nuxt-auth/issues/423)) ([465d72d](465d72d))
* add missing imports ([sidebase#671](https://github.com/zitadel/nuxt-auth/issues/671)) ([b49aa78](b49aa78))
* add set-cookie header for each set-cookie ([sidebase#726](https://github.com/zitadel/nuxt-auth/issues/726)) ([93e63a6](93e63a6))
* addDefaultCallback can be set with refresh and local providers ([sidebase#710](https://github.com/zitadel/nuxt-auth/issues/710)) ([1d5a1a4](1d5a1a4))
* Added getCurrentInstance check to conditionally register onMounted in useAuthState. ([sidebase#771](https://github.com/zitadel/nuxt-auth/issues/771)) ([4ea90f1](4ea90f1))
* also use `callWithNuxt` wrapper in `signOut` ([sidebase#284](https://github.com/zitadel/nuxt-auth/issues/284)) ([c839716](c839716))
* always set method to `GET` for internal getServerSession requests ([sidebase#54](https://github.com/zitadel/nuxt-auth/issues/54)) ([4b303e0](4b303e0))
* always upper-case methods before passing them around or comparing them ([sidebase#56](https://github.com/zitadel/nuxt-auth/issues/56)) ([e90f6ac](e90f6ac))
* attempt shot at lazily instantiating `nuxtAuthHandler` in `getServerSession` if no auth-endpoint was called yet ([sidebase#125](https://github.com/zitadel/nuxt-auth/issues/125)) ([4c8f383](4c8f383))
* audit fixes — docs typos, GitHub casing, SignInResult typing, remove stale cookie-es peer dep ([a75bba7](a75bba7))
* augment #app rather than more complex subpath ([sidebase#582](https://github.com/zitadel/nuxt-auth/issues/582)) ([4b4b7f0](4b4b7f0)), closes [#app](https://github.com/zitadel/nuxt-auth/issues/app)
* Autocomplete for 'auth' middleware in definePageMeta (sidebase[sidebase#157](https://github.com/zitadel/nuxt-auth/issues/157)) ([sidebase#379](https://github.com/zitadel/nuxt-auth/issues/379)) ([2587f4e](2587f4e))
* avoid content-flash of protected pages by faking a `navigateTo` ([0568254](0568254))
* avoided calling getSession endpoint when token is absent ([sidebase#355](https://github.com/zitadel/nuxt-auth/issues/355)) ([5cf5975](5cf5975))
* await for the joinPathToApiURLWN of signinUrl on authjs / useAuth / signIn() /  ([sidebase#359](https://github.com/zitadel/nuxt-auth/issues/359)) ([sidebase#360](https://github.com/zitadel/nuxt-auth/issues/360)) ([92ad14e](92ad14e))
* await sendRedirect in auth handler ([sidebase#769](https://github.com/zitadel/nuxt-auth/issues/769)) ([ecf945f](ecf945f))
* better _fetch typing ([e0ce5a5](e0ce5a5))
* better ts-ignore for `.default` ssr import ([cad1fc4](cad1fc4))
* cannot set headers after they are sent to the client ([sidebase#875](https://github.com/zitadel/nuxt-auth/issues/875)) ([d34848b](d34848b))
* **ci:** use correct build command ([a267e75](a267e75))
* correctly add base path to `host`, refactor `detectHost` to work better with `h3` ([sidebase#156](https://github.com/zitadel/nuxt-auth/issues/156)) ([0b8ee4a](0b8ee4a))
* correctly pass on `signIn` and `signOut` errors to caller ([sidebase#122](https://github.com/zitadel/nuxt-auth/issues/122)) ([1b4ea32](1b4ea32))
* correctly set cookies on server-side getSession fetch ([sidebase#215](https://github.com/zitadel/nuxt-auth/issues/215)) ([f601b6d](f601b6d)), closes [sidebase#200](https://github.com/zitadel/nuxt-auth/issues/200) [sidebase#200](https://github.com/zitadel/nuxt-auth/issues/200)
* definePageMeta auth option type ([sidebase#398](https://github.com/zitadel/nuxt-auth/issues/398)) ([d8cb190](d8cb190))
* detect unset origin correctly ([sidebase#68](https://github.com/zitadel/nuxt-auth/issues/68)) ([4ad6228](4ad6228))
* Do not block the login page in `globalMiddleware` ([sidebase#543](https://github.com/zitadel/nuxt-auth/issues/543)) ([2f35849](2f35849))
* do not use async composables in auth middleware ([sidebase#136](https://github.com/zitadel/nuxt-auth/issues/136)) ([be4008e](be4008e))
* **docs:** add some missing awaits ([b98c0cf](b98c0cf))
* **docs:** all links now point to v0.6 and not 0.6 ([sidebase#330](https://github.com/zitadel/nuxt-auth/issues/330)) ([dab5b38](dab5b38))
* **docs:** bullet point formatting broken, now fixed ([7e98da8](7e98da8))
* **docs:** correct docs ordering, call method in onClick ([#11](#11)) ([691cfa6](691cfa6))
* **docs:** correctly linkl server-side docs ([f816bf8](f816bf8))
* **docs:** finish intro sentence ([sidebase#101](https://github.com/zitadel/nuxt-auth/issues/101)) ([a10af85](a10af85))
* **docs:** Fix broken glossary links ([sidebase#285](https://github.com/zitadel/nuxt-auth/issues/285)) ([f3a6ff3](f3a6ff3))
* **docs:** port typo ([sidebase#49](https://github.com/zitadel/nuxt-auth/issues/49)) ([44a159c](44a159c))
* **docs:** sh not ts ([42e248d](42e248d))
* **docs:** title hierarchy in app configuration ([sidebase#844](https://github.com/zitadel/nuxt-auth/issues/844)) ([2e564da](2e564da))
* **docs:** typo in playground ([sidebase#416](https://github.com/zitadel/nuxt-auth/issues/416)) ([657134d](657134d))
* **docs:** typos in types.ts ([sidebase#1003](https://github.com/zitadel/nuxt-auth/issues/1003)) ([8dc77e5](8dc77e5))
* **docs:** Update _dir.yml to module type ([sidebase#216](https://github.com/zitadel/nuxt-auth/issues/216)) ([84f64d1](84f64d1))
* **docs:** Update 4.custom-session-data.md ([sidebase#458](https://github.com/zitadel/nuxt-auth/issues/458)) ([e505f75](e505f75))
* **docs:** update docs redirect in 1.index.md ([sidebase#92](https://github.com/zitadel/nuxt-auth/issues/92)) ([b201993](b201993))
* docus now works locally in project ([sidebase#406](https://github.com/zitadel/nuxt-auth/issues/406)) ([769f918](769f918))
* Don't fetch session during nitro prerender ([sidebase#521](https://github.com/zitadel/nuxt-auth/issues/521)) ([972b561](972b561))
* don't send sign-in options in request payload ([sidebase#755](https://github.com/zitadel/nuxt-auth/issues/755)) ([f2f3130](f2f3130))
* don't set `loading` to `true` on use `getSession` ([sidebase#75](https://github.com/zitadel/nuxt-auth/issues/75)) ([87e4ce6](87e4ce6))
* don't show nav-entry on mobile ([sidebase#105](https://github.com/zitadel/nuxt-auth/issues/105)) ([b06ce38](b06ce38))
* enable coverage collection and align report output with other repos ([0057fba](0057fba))
* fix and improve auto-declaration generation ([sidebase#747](https://github.com/zitadel/nuxt-auth/issues/747)) ([6ad830b](6ad830b))
* Fix Discussions template ([sidebase#683](https://github.com/zitadel/nuxt-auth/issues/683)) ([e4ea932](e4ea932))
* fix docs deploy ([sidebase#1079](https://github.com/zitadel/nuxt-auth/issues/1079)) ([0ee41e7](0ee41e7))
* fix type generation being faulty ([sidebase#756](https://github.com/zitadel/nuxt-auth/issues/756)) ([8306c39](8306c39))
* **getServerSession:** avoid infinite middleware stack ([sidebase#188](https://github.com/zitadel/nuxt-auth/issues/188)) ([cf1e20a](cf1e20a)), closes [sidebase#186](https://github.com/zitadel/nuxt-auth/issues/186)
* harden navigateToAuthPage against script protocol injection ([edb5376](edb5376)), closes [#5](#5) [nuxt/nuxt#33273](nuxt/nuxt#33273)
* import nuxt composables from #imports ([sidebase#562](https://github.com/zitadel/nuxt-auth/issues/562)) ([38ce7c5](38ce7c5)), closes [#imports](https://github.com/zitadel/nuxt-auth/issues/imports)
* imports not beyond runtime level ([sidebase#329](https://github.com/zitadel/nuxt-auth/issues/329)) ([61d710a](61d710a))
* include hash & query parameters in callbackUrl ([sidebase#643](https://github.com/zitadel/nuxt-auth/issues/643)) ([59a17f5](59a17f5))
* install Playwright browsers in CI test workflow ([2e565ed](2e565ed))
* issue with getToken function and using raw: true in options.  ([sidebase#434](https://github.com/zitadel/nuxt-auth/issues/434)) ([c8e5bcd](c8e5bcd))
* limit refreshHandler timers to the max supported browser delay ([sidebase#1032](https://github.com/zitadel/nuxt-auth/issues/1032)) ([d350022](d350022))
* lint ([dad1786](dad1786))
* made `globalAppMiddleware` more intuitive ([6434f53](6434f53))
* make @nuxt/kit a direct dep + bump to nuxt 3.1.2 ([sidebase#222](https://github.com/zitadel/nuxt-auth/issues/222)) ([9903813](9903813))
* Make sure SessionRefreshPeriodically is run on client only ([sidebase#237](https://github.com/zitadel/nuxt-auth/issues/237)) ([4dbbcdc](4dbbcdc))
* **middleware:** redirect to signIn using `location.replace` ([sidebase#87](https://github.com/zitadel/nuxt-auth/issues/87)) ([6e21254](6e21254))
* **middleware:** redirect to signIn without using `location.replace` ([sidebase#127](https://github.com/zitadel/nuxt-auth/issues/127)) ([170543d](170543d))
* mispellings of "immediately". ([sidebase#377](https://github.com/zitadel/nuxt-auth/issues/377)) ([4975704](4975704))
* move vue server plugin out of `server/` directory ([sidebase#639](https://github.com/zitadel/nuxt-auth/issues/639)) ([10d76d0](10d76d0))
* nuxt instance unavailable in nested useSession composable call ([sidebase#78](https://github.com/zitadel/nuxt-auth/issues/78)) ([520fc27](520fc27))
* opt in to `import.meta.*` properties ([sidebase#719](https://github.com/zitadel/nuxt-auth/issues/719)) ([4dfe9eb](4dfe9eb))
* package name ([6ed80ba](6ed80ba))
* pass headers to `getServerSession` ([sidebase#272](https://github.com/zitadel/nuxt-auth/issues/272)) ([63d5aae](63d5aae))
* properly disable `getSession` endpoint for local and refresh ([sidebase#768](https://github.com/zitadel/nuxt-auth/issues/768)) ([e711e39](e711e39))
* refresh exclude signOut fetch if disabled ([sidebase#608](https://github.com/zitadel/nuxt-auth/issues/608)) ([4f7433d](4f7433d))
* remove concurrency check from `pkg.pr.new` workflow ([sidebase#885](https://github.com/zitadel/nuxt-auth/issues/885)) ([058c5e3](058c5e3))
* remove unused external parameter from signIn/signOut/getSession ([1833062](1833062))
* replace @nuxtjs/tailwindcss with CDN to fix CI dependency check ([cf0844f](cf0844f))
* reproduire version ([e036b0b](e036b0b))
* restore error bubbling behavior from v1.0.0 ([sidebase#1048](https://github.com/zitadel/nuxt-auth/issues/1048)) ([5c6c5f8](5c6c5f8))
* runtimeConfig `auth` key access ([sidebase#414](https://github.com/zitadel/nuxt-auth/issues/414)) ([cd4d203](cd4d203))
* runtimeConfig access 'auth' property on top level warning (sidebase[sidebase#354](https://github.com/zitadel/nuxt-auth/issues/354)) ([sidebase#381](https://github.com/zitadel/nuxt-auth/issues/381)) ([d167139](d167139))
* send X-Auth-Return-Redirect header in signIn and signOut requests ([bac5adc](bac5adc))
* session and data types are correctly generated in dist for useSession ([sidebase#36](https://github.com/zitadel/nuxt-auth/issues/36)) ([3ef26e4](3ef26e4))
* signInOptions inherit from Record<string, unknown> to allow arbitrary body-data ([sidebase#46](https://github.com/zitadel/nuxt-auth/issues/46)) ([0596ca5](0596ca5))
* Spelling in code comments and documentation ([sidebase#547](https://github.com/zitadel/nuxt-auth/issues/547)) ([d944692](d944692))
* stub nitro plugin due to nuxt 3 upstream errror ([sidebase#191](https://github.com/zitadel/nuxt-auth/issues/191)) ([a7350ce](a7350ce))
* **types:** export `ModulePublicRuntimeConfig` for module builder type generation ([sidebase#738](https://github.com/zitadel/nuxt-auth/issues/738)) ([949e556](949e556))
* typo in `useSession` error message ([sidebase#66](https://github.com/zitadel/nuxt-auth/issues/66)) ([ff56664](ff56664))
* update to latest `@nuxt/module-builder` ([sidebase#888](https://github.com/zitadel/nuxt-auth/issues/888)) ([44299ae](44299ae))
* use `route.matched` to determine if 404 was hit ([sidebase#201](https://github.com/zitadel/nuxt-auth/issues/201)) ([74c3965](74c3965))
* use exact nextauth version to avoid breaking change ([sidebase#94](https://github.com/zitadel/nuxt-auth/issues/94)) ([3107b54](3107b54))
* use exact path prefix in getServerSession recursion guard ([f139dde](f139dde))
* use relative doc links, remove unused ModulePublicRuntimeConfig ([b768843](b768843))
* use type `Session` from `next-auth` to allow correct overwriting ([sidebase#115](https://github.com/zitadel/nuxt-auth/issues/115)) ([1013a46](1013a46))
* use uppercase env var and absolute path for npm cache in devbox ([68f877d](68f877d))
* violations of upcoming `eslint/no-else-return` oxlint rule ([sidebase#921](https://github.com/zitadel/nuxt-auth/issues/921)) ([734953f](734953f))
* **wip, auth:** start to also generate import statements for selected providers ([10562b2](10562b2))

### Code Refactoring

* rename middleware from sidebase-auth to zitadel-auth ([6519561](6519561))

### Features

* **sidebase#1046:** Add automatic middleware; fix navigateUnauthenticatedTo ([sidebase#1054](https://github.com/zitadel/nuxt-auth/issues/1054)) ([0088492](0088492)), closes [sidebase#1046](https://github.com/zitadel/nuxt-auth/issues/1046)
* **sidebase#635:** allow changing refresh request body via json pointer ([sidebase#727](https://github.com/zitadel/nuxt-auth/issues/727)) ([5183748](5183748)), closes [sidebase#635](https://github.com/zitadel/nuxt-auth/issues/635)
* **sidebase#673, sidebase#523, sidebase#848:** back-port authjs migration ([sidebase#849](https://github.com/zitadel/nuxt-auth/issues/849)) ([355e865](355e865)), closes [sidebase#673](https://github.com/zitadel/nuxt-auth/issues/673) [sidebase#523](https://github.com/zitadel/nuxt-auth/issues/523) [sidebase#848](https://github.com/zitadel/nuxt-auth/issues/848)
* **sidebase#797, sidebase#878:** set `baseURL` via environment variables and improve internal url detection ([sidebase#913](https://github.com/zitadel/nuxt-auth/issues/913)) ([5788005](5788005)), closes [sidebase#797](https://github.com/zitadel/nuxt-auth/issues/797) [sidebase#878](https://github.com/zitadel/nuxt-auth/issues/878)
* **sidebase#821:** Unify `local` and `refresh` providers into one ([sidebase#822](https://github.com/zitadel/nuxt-auth/issues/822)) ([b09b14e](b09b14e)), closes [sidebase#821](https://github.com/zitadel/nuxt-auth/issues/821)
* add `defaultProvider` option and make `signIn` callable from application-side middleware ([sidebase#164](https://github.com/zitadel/nuxt-auth/issues/164)) ([2c36096](2c36096))
* add `getToken`, better provider auto-complete for signIn, getProviders ([#25](#25)) ([b982ae0](b982ae0))
* add `proxyCookies` option for `_fetch` ([sidebase#1041](https://github.com/zitadel/nuxt-auth/issues/1041)) ([feda2a4](feda2a4))
* add callback url on `signOut` + document it ([sidebase#35](https://github.com/zitadel/nuxt-auth/issues/35)) ([0dc73f3](0dc73f3))
* add callback urls, fixes: default options always apply, docs: expand docs ([91a2a40](91a2a40))
* Add cookie domain config ([sidebase#736](https://github.com/zitadel/nuxt-auth/issues/736)) ([9bd9f45](9bd9f45))
* add flag to disable `getSession` after signIn on local provider ([sidebase#702](https://github.com/zitadel/nuxt-auth/issues/702)) ([b5af548](b5af548))
* Add guest mode ([sidebase#304](https://github.com/zitadel/nuxt-auth/issues/304)) ([1449881](1449881))
* Add httpOnly cookie attribute support ([sidebase#847](https://github.com/zitadel/nuxt-auth/issues/847)) ([d1d33e9](d1d33e9))
* Add initial multi-provider support - supported: authjs + local providers, add static Nuxt 3 support ([sidebase#317](https://github.com/zitadel/nuxt-auth/issues/317)) ([9dcc70b](9dcc70b))
* add option to configure callback urls globally and for the global middleware ([sidebase#288](https://github.com/zitadel/nuxt-auth/issues/288)) ([0024359](0024359))
* add possibility to disable signOut endpoint for local provider ([sidebase#572](https://github.com/zitadel/nuxt-auth/issues/572)) ([64e9001](64e9001))
* Add refresh token to signOut request body ([sidebase#731](https://github.com/zitadel/nuxt-auth/issues/731)) ([28a785b](28a785b))
* Add sameSite attribute to config in `local` provider ([sidebase#505](https://github.com/zitadel/nuxt-auth/issues/505)) ([ba38378](ba38378))
* Add server check in middleware ([sidebase#644](https://github.com/zitadel/nuxt-auth/issues/644)) ([cf32ea7](cf32ea7))
* add server-side helper and document its usage, start working on config, expand docs ([349ab0f](349ab0f))
* add set and clear token methods ([sidebase#554](https://github.com/zitadel/nuxt-auth/issues/554)) ([6190dec](6190dec))
* add some startup logging, test with zero providers ([912006f](912006f))
* Add support for secure attribute of local/refresh provider cookies ([sidebase#729](https://github.com/zitadel/nuxt-auth/issues/729)) ([f3fc581](f3fc581))
* Added option to set `callbackUrl` as external ([sidebase#556](https://github.com/zitadel/nuxt-auth/issues/556)) ([87e448a](87e448a))
* added support for nuxt 4 ([336a062](336a062))
* added token, refreshToken cookieName option ([sidebase#654](https://github.com/zitadel/nuxt-auth/issues/654)) ([aed6069](aed6069))
* allow dynamic base path, fix some docs ([7d0ae49](7d0ae49))
* allow nextauth and module config from nuxt.config.ts ([41ae85a](41ae85a))
* **bridge-compat:** create runtimeConfig  ([sidebase#63](https://github.com/zitadel/nuxt-auth/issues/63)) ([7927aaf](7927aaf))
* cleanup api implementation, start playing around with config, move api to the right place ([414e14f](414e14f))
* **docs:** add docs via docus and CI/CD workflow to deliver docs to sidebase.io ([sidebase#60](https://github.com/zitadel/nuxt-auth/issues/60)) ([c38ca48](c38ca48))
* **docs:** add strapi JWT provider example ([sidebase#44](https://github.com/zitadel/nuxt-auth/issues/44)) ([79652d1](79652d1))
* **docs:** added nuxt-auth documentation as-is for a first version of docs ([sidebase#67](https://github.com/zitadel/nuxt-auth/issues/67)) ([bec526f](bec526f))
* **docs:** cleanup readme, dont repeat same claim multiple times ([sidebase#98](https://github.com/zitadel/nuxt-auth/issues/98)) ([a987a4e](a987a4e))
* **docs:** extend getting started with provider configuration, more clearly state project status in roadmap ([7e93348](7e93348))
* **docs:** improve .default ts ignore by replacing it with ts expect error ([sidebase#114](https://github.com/zitadel/nuxt-auth/issues/114)) ([9a26ea9](9a26ea9))
* **docs:** state more clearly that this lib is for non-static libraries, state more clearly that nextuath ressources can be used ([sidebase#121](https://github.com/zitadel/nuxt-auth/issues/121)) ([d90fa8b](d90fa8b))
* **docs:** switch to docus, rework all docs, add more docs ([sidebase#90](https://github.com/zitadel/nuxt-auth/issues/90)) ([57687b3](57687b3))
* **docs:** Update 4.custom-session-data.md examples ([sidebase#206](https://github.com/zitadel/nuxt-auth/issues/206)) ([a4827a2](a4827a2)), closes [sidebase#148](https://github.com/zitadel/nuxt-auth/issues/148)
* **docs:** Updated image, fix getting started link ([sidebase#93](https://github.com/zitadel/nuxt-auth/issues/93)) ([540a959](540a959))
* document redirects ([43bdbbb](43bdbbb))
* dynamically determine origin in development by adding `trustHost` option and falling back to `host` ([sidebase#76](https://github.com/zitadel/nuxt-auth/issues/76)) ([ae6945d](ae6945d))
* enable `credential` flow by switching to user-runtime config approach, add docs, improve some types ([#10](#10)) ([efd0d0b](efd0d0b))
* enable auto-publishing on NPM after a GitHub release ([sidebase#1051](https://github.com/zitadel/nuxt-auth/issues/1051)) ([23410a4](23410a4))
* **fetch:** improve error handling ([sidebase#713](https://github.com/zitadel/nuxt-auth/issues/713)) ([28fce0f](28fce0f))
* first PoCs of session, signIn, signOut, getCsrfToken, getProviders working ([f308e41](f308e41))
* getSession force refetch option ([sidebase#425](https://github.com/zitadel/nuxt-auth/issues/425)) ([e2ea743](e2ea743))
* implement refresh provider schema ([sidebase#581](https://github.com/zitadel/nuxt-auth/issues/581)) ([81627c4](81627c4))
* improve PoCs, add PoC for `getSession` to refresh data and authentication status ([d838838](d838838))
* improve types by re-using useFetch params, checking undefined stricter and checking if `params` is undefined in auth handler ([#24](#24)) ([39809ed](39809ed))
* local provider prevent signIn flow ([sidebase#615](https://github.com/zitadel/nuxt-auth/issues/615)) ([cac3ce2](cac3ce2))
* **local:** ⚡ only process signIn callback url when redirect true ([sidebase#979](https://github.com/zitadel/nuxt-auth/issues/979)) ([85034e0](85034e0))
* **local:** Improve typing of sessiondata with the option to dynamically define it in the nuxt.config.ts ([sidebase#376](https://github.com/zitadel/nuxt-auth/issues/376)) ([300eba2](300eba2))
* make next-auth peer dependency ([sidebase#179](https://github.com/zitadel/nuxt-auth/issues/179)) ([25b0731](25b0731))
* make origin configurable at runtime ([sidebase#140](https://github.com/zitadel/nuxt-auth/issues/140)) ([e7a3414](e7a3414))
* make server-side session util usable as virtual import, finalize server side docs ([3001b49](3001b49))
* Make use session sync, use a plugin based approach for session fetching, add auth middleware, add lastRefreshedAt property to session([sidebase#69](https://github.com/zitadel/nuxt-auth/issues/69)) ([a1522c5](a1522c5))
* make useSession isomorph, improve docs credential flow example, add docs security section, add docs custom sign in page section ([sidebase#31](https://github.com/zitadel/nuxt-auth/issues/31)) ([94bf31e](94bf31e))
* Move `origin` checking to runtime ([sidebase#41](https://github.com/zitadel/nuxt-auth/issues/41)) ([20e934e](20e934e))
* move composable into module ([9891ac4](9891ac4))
* **playground:** add example custom sign in page ([sidebase#96](https://github.com/zitadel/nuxt-auth/issues/96)) ([379f699](379f699)), closes [sidebase#88](https://github.com/zitadel/nuxt-auth/issues/88)
* protected route redirect overwrite per page ([sidebase#424](https://github.com/zitadel/nuxt-auth/issues/424)) ([57c1431](57c1431))
* provide type for disabling global auth middleware ([sidebase#139](https://github.com/zitadel/nuxt-auth/issues/139)) ([eddedb8](eddedb8))
* rename from nuxt-user to nuxt-auth ([91d4fe6](91d4fe6))
* Rename to use useAuth, upgrade all deps, improve typescript support ([sidebase#302](https://github.com/zitadel/nuxt-auth/issues/302)) ([d053e19](d053e19))
* return signin response if no redirection ([sidebase#977](https://github.com/zitadel/nuxt-auth/issues/977)) ([5e6182f](5e6182f))
* selected providers are added to module ([046ff67](046ff67))
* shorten logging on mnodule-startup and build ([d95055d](d95055d))
* slightly better docs ([77e60c0](77e60c0))
* support custom refresh handling ([sidebase#715](https://github.com/zitadel/nuxt-auth/issues/715)) ([10b47ae](10b47ae))
* switch to pnpm for development ([sidebase#305](https://github.com/zitadel/nuxt-auth/issues/305)) ([54aaa8b](54aaa8b))
* sync state between all invocations of `useSession` ([991be78](991be78))
* upgrade to nuxt 3 stable, upgrade minor deps as well ([sidebase#57](https://github.com/zitadel/nuxt-auth/issues/57)) ([b45bb4f](b45bb4f))
* upgrade to nuxt 3.1 ([sidebase#189](https://github.com/zitadel/nuxt-auth/issues/189)) ([2ba7102](2ba7102))
* use `nuxt-auth` and not `next-auth` as default cookie prefix ([sidebase#176](https://github.com/zitadel/nuxt-auth/issues/176)) ([0fc7dac](0fc7dac))

### Reverts

* Revert "feat: use `nuxt-auth` and not `next-auth` as default cookie prefix ([sidebase#176](https://github.com/zitadel/nuxt-auth/issues/176))" ([sidebase#180](https://github.com/zitadel/nuxt-auth/issues/180)) ([8670334](8670334))

### 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](https://claude.com/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
github-actions Bot pushed a commit to zitadel/nuxt-auth that referenced this pull request May 26, 2026
# [2.0.0](v1.1.1...v2.0.0) (2026-05-26)

* refactor!: remove local provider support ([dbef8e0](dbef8e0))

### Bug Fixes

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

### Code Refactoring

* rename middleware from sidebase-auth to zitadel-auth ([6519561](6519561))

### Features

* added support for nuxt 4 ([336a062](336a062))
* align with Auth.js conventions — AUTH_URL default + type re-exports ([186c70b](186c70b))
* **urls:** add signInUrl / signOutUrl helpers ([fe0ea3c](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](https://claude.com/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant