You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if there is a way to customize this cookie name?
The issue I am facing is that multiple services, which are proxied under the same host address, are using the same cookie. As a result, these services overwrite each other's sessions when accessed, causing conflicts.
Is there any existing option or workaround that would allow me to set a custom cookie name for the session, or could this be added as a feature?
Thank you in advance for your help, and thank you for all the great work on this module!
The text was updated successfully, but these errors were encountered:
This would be a great addition! I have some use cases where I too would like to be able to customize the session name to prevent overwriting of the session. Even if it was set using an environment variable, that would be one way to set it without a lot of code changes. Itwould be a super simple way to do it although probably not the most appropriate. My guess would be that nuxt.config.ts would be a better place to do it long term.
Hello,
I noticed that the session cookie name is currently hardcoded as
nuxt-oidc-auth
:nuxt-oidc-auth/src/runtime/server/utils/session.ts
Line 13 in b3c4087
I was wondering if there is a way to customize this cookie name?
The issue I am facing is that multiple services, which are proxied under the same host address, are using the same cookie. As a result, these services overwrite each other's sessions when accessed, causing conflicts.
Is there any existing option or workaround that would allow me to set a custom cookie name for the session, or could this be added as a feature?
Thank you in advance for your help, and thank you for all the great work on this module!
The text was updated successfully, but these errors were encountered: