HTTP only cookie #683
Unanswered
ChuksGrinage
asked this question in
Q&A
Replies: 2 comments
-
|
Hi, I'm having the same problem. Has anyone figured out how to do this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@Chuks1993 don't know if this helps, but I ended up solving this by having separate routes from login and logout methods. And here is the login method. For the record: A) I'm using the SQLAlchemy flask backend. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new to python so bare with me: I'm trying to set
http-only cookiewithariadne. I'm currently usingdjango, withariadne-jwtfor my authentication but unlikegraphenethere doesnt seem to be a package or any example online of someone implementing ahttp-only cookie. I was wondering if anyone has any tips or examples or perhaps a simple middleware that would automatically set cookies for my frontend.I'm basing my authentication on this: https://hasura.io/blog/best-practices-of-using-jwt-with-graphql/#refresh_token
Beta Was this translation helpful? Give feedback.
All reactions