Replies: 1 comment 7 replies
-
Can you enable trace-level logging? The "removing session cookie" bit means that the session is empty for some reason (in which case it's removed and on the next request a new one is created). |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’ve successfully implemented Google OAuth in my Axum project, but I’m encountering an issue where the session gets removed on every request. I have followed the oauth example provided in docs. Here are the details:
Problem: The session data is not persisting across requests, leading to frequent logouts and re-authentication.
Setup:
Observations: The session is created during login but disappears after subsequent requests.
I already searched existing issues for similar problems. Gone through this discussion. I tried firefox and chrome but both have same issue.
Logs
REPO: https://github.com/mann1996/test-axum-login
Request for Assistance:
I am a beginner in Rust and apologise in advance for any dumb mistake.
Beta Was this translation helpful? Give feedback.
All reactions