Skip to content

feat: opt out of session plugin#472

Merged
atinux merged 3 commits intoatinux:mainfrom
samydoesit:opt-out-of-session-plugin
Dec 9, 2025
Merged

feat: opt out of session plugin#472
atinux merged 3 commits intoatinux:mainfrom
samydoesit:opt-out-of-session-plugin

Conversation

@samydoesit
Copy link
Copy Markdown
Contributor

Hello,

this PR adds the ability to disable the session plugin.

In our specific use case we don't rely on the session utilities provided.
Unlike the scenario described in #450, we simply want to deactivate the session plugin to avoid unnecessary overhead.

This change introduces an option to disable the plugin and these unwanted session fetches.

Let me know what you think!

@atinux
Copy link
Copy Markdown
Owner

atinux commented Dec 9, 2025

I would prefer to improve the loadStrategy to have the none option to disable the plugins instead @samydoesit

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Dec 9, 2025

Open in StackBlitz

npm i https://pkg.pr.new/atinux/nuxt-auth-utils@472

commit: 3695273

@atinux atinux mentioned this pull request Dec 9, 2025
@atinux atinux merged commit 685e0b3 into atinux:main Dec 9, 2025
4 checks passed
@samydoesit samydoesit deleted the opt-out-of-session-plugin branch December 9, 2025 16:28
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.

2 participants