Skip to content

FastAPI web application example with local setup #58

Answered by frankie567
davidbrochart asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like the cookie user_session is not properly set or doesn't have the right properties. Could you check:

  • The domain, HTTP only and secure flags of the cookie?
  • If the cookie is sent in the subsequent request to /protected (you should see it as a Cookie header in the request details in the Network tab)?

Replies: 3 comments 22 replies

Comment options

You must be logged in to vote
13 replies
@davidbrochart
Comment options

@frankie567
Comment options

@davidbrochart
Comment options

@frankie567
Comment options

@davidbrochart
Comment options

Answer selected by davidbrochart
Comment options

You must be logged in to vote
7 replies
@oscar6echo
Comment options

@frankie567
Comment options

@oscar6echo
Comment options

@frankie567
Comment options

@oscar6echo
Comment options

Comment options

You must be logged in to vote
2 replies
@frankie567
Comment options

@oscar6echo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants