-
Notifications
You must be signed in to change notification settings - Fork 47
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
custom session handling? #184
Comments
Can you not send a bogus cookie on the next connection?
|
The Cookie header is http only, and cannot be accessed / overwritten from JS code, for security reasons.
done. |
I believe we have already implemented a solution for this? |
yes, we have bearer token now, we don't use Cookies anymore. So closing this. |
I have several issues with Hoodie using cookies for sessions at the moment. One being, that I cannot end the session if the user is offline, but there are valid use cases for that, see hoodiehq/hoodie#194
There are other reason, including security flaws, why I'd suggest to have that changed.
Instead of using cookies, I'd like to send a custom header with every request, something like
X-Hoodie-Session-Id
.Does CouchDB support something like that? Or would that mean that we have to build our own session/auth handler?
The text was updated successfully, but these errors were encountered: