nuxt-oidc-auth
nuxt-oidc-auth copied to clipboard
feature: add env-var to allow users to rename the token
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 thesessionNameconstant to use the value of theNUXT_OIDC_AUTH_SESSION_COOKIE_NAMEenvironment variable if it is set, otherwise defaulting to'nuxt-oidc-auth'.
Can somebody please merge this PR?