Skip to content

Custom cookie name for the session #75

Open
@kryopix

Description

@kryopix

Hello,

I noticed that the session cookie name is currently hardcoded as nuxt-oidc-auth:

const sessionName = 'nuxt-oidc-auth'

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions