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

Use Couch session cookie instead of basic auth #25

Open
jkuester opened this issue Oct 8, 2024 · 0 comments
Open

Use Couch session cookie instead of basic auth #25

jkuester opened this issue Oct 8, 2024 · 0 comments

Comments

@jkuester
Copy link
Collaborator

jkuester commented Oct 8, 2024

Basic auth on Couch is known to be slowhttps://docs.couchdb.org/en/stable/config/auth.html#chttpd_auth/iterations) depending on your password hashing iterations. Instead of passing basic auth creds on each Couch request, we should consider leveraging a session cookie.

One heavy handed 😅 option here would be to switch to just to Pouch with the http adapter and https://github.com/medic/pouchdb-session-authentication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant