Sandro Circi

Results 228 comments of Sandro Circi

Indeed, this is one of the many refactors that were taking place for the next major. There still is an old pre-release `nuxt-directus-next` based on the sdk that did have...

Now I'm wondering why it worked in the first place. But yes, it was being refactored from the ground up

> You don't need to manually refresh the tokens Right? it happens automatically using the module. indeed: https://github.com/Intevel/nuxt-directus/blob/706fa0482b14944d49874e967d3d1ae27daff1cb/src/runtime/plugin.ts#L11 although since nuxt 3.12 (iirc) the current approach can be inconsistent for...

Indeed, as @mahsamirzapour suggested, making it longer helps. But still it should be automatically refreshed by the module, this means that something is blocking it > ```js > // refresh...

> @sandros94 Hi, how about incress cookieMaxAge on module option? Shouldn't be an issue. It currently defaults to 7 days, but editable via `directus.cookieMaxAge` in your `nuxt.config.ts`: https://github.com/Intevel/nuxt-directus/blob/706fa0482b14944d49874e967d3d1ae27daff1cb/src/module.ts#L64-L70

> @sandros94 So everything works correctly hm? and something else, a year ago nuxt-directus-next module was very very cool and I used for my project, can you bring that again?...

@mahsamirzapour if you need to handle the token storage not via module nor via sdk it completely depends on your use case and project. There are many different ways to...

> @Intevel Hi, please fix the SSR cookies issue 😞😞😞 Could I ask you a small reproduction, either via StackBlitz or a GitHub repository? I haven't understood your situation, yet,...