-
Notifications
You must be signed in to change notification settings - Fork 429
Closed
Labels
Description
Checklist
- I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Describe the problem you'd like to have solved
This is kind of a piggy back off of #1853
In v3, we could configure all of:
AUTH0_COOKIE_DOMAIN
AUTH0_COOKIE_PATH
AUTH0_COOKIE_TRANSIENT
AUTH0_COOKIE_HTTP_ONLY
AUTH0_COOKIE_SECURE
AUTH0_COOKIE_SAME_SITE
Looks like the work in #1872 only added support for configuring name, secure, and sameSite. I know my team also configures the domain and transient properties.
Describe the ideal solution
Add support for all the existing cookie configurations in v3 to also be configured in v4.
Alternatives and current workarounds
None, that I'm aware of
Additional context
This is important for sharing sessions between same domain applications.
We have app1 and app2 that want to share sessions between them, so we configure the cookie_domain to be .ourdomain.com
instead of app1.ourdomain.com
or app2.ourdomain.com
.
iromanro, PSoltes, DGutorkin, crylonblue, boekkooi-impossiblecloud and 4 more