Configure different domain for hydra cookie creation #3824
Unanswered
MayankShivhare999
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a scenario where I need Ory Hydra v2.x to set cookies on a different domain than the one where Hydra is currently running. Hydra is deployed at
https://hydra.test.example.com/
, but I want the cookies to be created for the domain .service.com.I've configured the following environment variables:
SERVE_COOKIES_PATH=/
SERVE_COOKIES_SAME_SITE_MODE=None
SERVE_COOKIES_SECURE=true
but this is giving error: CSRF value from the token does not match the CSRF value from the data store. status:Forbidden status_code:403]
If anyone has experience or advice on configuring Hydra to set cookies on a different domain, I would greatly appreciate your help.
Beta Was this translation helpful? Give feedback.
All reactions