L
L
Larisa .•º2021-01-13 10:13:55
Nginx
Larisa .•º, 2021-01-13 10:13:55

How to update cookies if they are set to secure?

There are two subdomains test1.example.ru and test2.example.ru.
The request from the user has the following chain ( 1 scenario )

1. authorization step

Клиент  ->   прокси  - >  test1.example.ru ->   coookes to  client for test2.example.ru


2 getting data

Клиент  with cookies -> прокси  > test2.example ->  data to  client


And everything is great!

There is another way to get data ( scenario 2 ). bypassing test1.example.ru, but then test2.example also returns cookies but with the secure: true flag. And then, when working out the 1st scenario, there is no way to replace the cookies received from test1.example.ru

Question: Are there any ways to update cookies, if they are secure: true, in subdomains?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question