Skip to content

JWT Authentication vs _users #2945

Answered by janl
dsebastien asked this question in Q&A
Jun 13, 2020 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

_users is the source of truth in either case. JWT is just a different way of identifying users (next to HTTP Basic Auth and the existing Session auth).

This turned out to be wrong.

JWT auth works like proxy auth, and usernames and roles are defined externally and CouchDB just inherits them.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by janl
Comment options

You must be logged in to vote
1 reply
@janl
Comment options

janl Jul 1, 2020
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants