Skip to content

feature: add env-var to allow users to rename the token #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DerSimeon
Copy link

closes #75
This pull request includes a change to the src/runtime/server/utils/session.ts file to make the session cookie name configurable through an environment variable.

Configuration changes:

  • src/runtime/server/utils/session.ts: Modified the sessionName constant to use the value of the NUXT_OIDC_AUTH_SESSION_COOKIE_NAME environment variable if it is set, otherwise defaulting to 'nuxt-oidc-auth'.

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.

Custom cookie name for the session
1 participant