strapi icon indicating copy to clipboard operation
strapi copied to clipboard

Make cookie name configurable

Open TitusKirch opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Currently the name of the cookie is "strapi_jwt" and hardcoded. For example, we have extended Strapi with a refresh and access token system, which is why we would like to change the cookie name from "strapi_jwt" to "access_token".

Describe the solution you'd like

I would like to be able to configure the name of the cookie via nuxt.config.ts.

Describe alternatives you've considered

N/A

Additional context

N/A

TitusKirch avatar Jul 06 '22 17:07 TitusKirch

@TitusKirch Implemented this feature in #265 💚

Intevel avatar Jul 13 '22 19:07 Intevel