Skip to content

Conversation

@samydoesit
Copy link
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
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

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 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