fastify / session

Session plugin for fastify
Other
103 stars 45 forks source link

Add the ability to configure cookie options within a route #257

Closed ogheo closed 2 months ago

ogheo commented 3 months ago

Prerequisites

🚀 Feature Proposal

Same as https://github.com/fastify/fastify-secure-session?tab=readme-ov-file#configuring-cookie-options-inside-a-route from fastify-secure-session.

Motivation

In some cases, it might be really useful, like implementing a 'remember me' feature or something else, without big hassles. Continuation of https://github.com/fastify/session/pull/53.

Example

No response

mcollina commented 3 months ago

Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests.