Skip to content

AuthSession User not saved #219

Answered by maxcountryman
dariaag asked this question in Q&A
Discussion options

You must be logged in to vote

There will be a cookie (via the Set-Cookie header) that you should see in the HTTP response. When you talk to the login endpoint for example this cookie will be provided in the response. Every request after that must include this cookie since that's how the session is identified by tower-sessions. I believe curl has some cookie handling facilities built in so you may want to check that you're using those or otherwise provide the cookie manually in your requests.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dariaag
Comment options

@maxcountryman
Comment options

Answer selected by dariaag
@dariaag
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
2 participants