Dynamic cookie domain #662
chladog
started this conversation in
Feature Requests & Ideas
Replies: 1 comment
-
@chladog this is a great idea. We'd accept a PR to do this for sure. Otherwise, we can get to it but we have a handful of initiatives we're working through now that will take precedence. If you decide to tackle this, I'd be up for strategizing! |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
In similar fashion to #661 - it would be great to be able to set the domain parameter of cookie dynamically based on the context/request. E.g. my app is running on multiple domains and I want to set domain parameter based on request origin to allow cookie sharing across subdomains.
Currently only static config is possible.
It would be possible to allow for dynamic config for all cookie options:
secure, sameSite, expires, path
as needs can vary based on origin.Beta Was this translation helpful? Give feedback.
All reactions