Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: Cookies not sent with GET #4013

Open
1 task done
dariaag opened this issue Apr 28, 2024 · 2 comments
Open
1 task done

[bug]: Cookies not sent with GET #4013

dariaag opened this issue Apr 28, 2024 · 2 comments
Labels
bug Something isn't working need testing Needs to be tested before merging onto production

Comments

@dariaag
Copy link

dariaag commented Apr 28, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I add cookies to header, it is not sent, since session user is None. Identical request through Postman returns an active session with user.

Steps to reproduce

I am using axum-login and tower sessions, which uses cookies to verify session, but I assume it is reproducible with any setup that requires cookies.

Environment

Production

Version

Local

@dariaag dariaag added bug Something isn't working need testing Needs to be tested before merging onto production labels Apr 28, 2024
@chuck1in
Copy link

chuck1in commented May 4, 2024

There seem to be a lot of problems with cookies. I use a mac desktop app, and I need to manually set cookies before they can be sent automatically. And the set cookie domain disappears after a period of time. I don't know if it is caused by expired cookies or other reasons.

@dariaag
Copy link
Author

dariaag commented May 4, 2024

yes, seems like it. for me manual ones also don't work on hopscotch mac app, but httpie and postman are fine, so it's not my app for sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need testing Needs to be tested before merging onto production
Projects
None yet
Development

No branches or pull requests

2 participants