Closed patilanz closed 1 year ago
Why would there be more than one cookie?
In my case I need one cookie for www.domain.com and another for www.domain.com/path.
And you need to read both at the same time?
Yes, the server is responsible for both pages. Customers and Admins can have different accounts and can be authenticated at the same time.
Maybe using a different fastify context and registering the plugin two times?
Maybe using a different fastify context and registering the plugin two times?
Yes, you should encapsulate them separately.
Prerequisites
🚀 Feature Proposal
I'm using fastify-secure-session with fastify-passport like a identity provider for multiple pages. The problem is that there is only one cookieName in the configuration. Is it possible to use something like this:
Motivation
No response
Example
No response