nuxt-oidc-auth icon indicating copy to clipboard operation
nuxt-oidc-auth copied to clipboard

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

Open DerSimeon opened this issue 10 months ago • 1 comments

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

DerSimeon avatar Feb 04 '25 13:02 DerSimeon

Can somebody please merge this PR?

r4id4h avatar Aug 10 '25 07:08 r4id4h