S
S
saharbekov002021-06-27 16:44:10
HTTP Cookies
saharbekov00, 2021-06-27 16:44:10

How to set the Flask SameSite Secure attribute?

Hello, I still can’t figure out how to fix the error that the browser gives out, please tell me, I can’t correctly implement everything that I found on the Internet:

60d87ede4549b756135172.png

60d8802764e36049856465.png

I also think that because of this, after uploading the site to heroku, it’s almost impossible to log in, and if It turns out that the authorization flies when you go to another page.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SagePtr, 2021-06-27
@SagePtr

SameSite put either Lax or Strict. And Secure can be set only in the case of https.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question