Config cookie-name: allow custom names for the token-cookie #101
Dominic-Marcelino
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Directus allows us to set a custom name for the token-cookie. In this integration it's hardcoded to
directus_token
:https://github.com/directus-community/nuxt-directus/blob/5db5809deb9e3829d160879b30ebcee67e1c047f/src/runtime/composables/useDirectusToken.ts#L3-L14
Would be great if we could pass a custom name via the config too.
This could be added together with the refresh management
Beta Was this translation helpful? Give feedback.
All reactions