10Eki
How to securely transfer cookies between two domains?
Let's say you have a website https://example.org which is being decommissioned and redirected to https://example.net.
Your users have a cookie on https://example.org which contains some authentication token for the backend services (e.g. https://backend.example.org). You want the redirect on https://example.org to also transfer this token to a cookie on https://example.net.
Without asking the user to reauthenticate, what is the best way to securely transfer this?