phuczeero opened a new issue #1041: Expire X-Auth-CouchDB-Token manually?
URL: https://github.com/apache/couchdb/issues/1041
 
 
   I have a Rest API store users in MongoDB, I want to use Couch-Pouch as 
synchronize DBs to keep user files structure.
   
   I follow _Proxy Authentication_ section to implement this case:
   
   - When users login, the API authenticate them via MongoDB.
   - After that generate a **token** by hashing (hmac_sha1) the user id 
(already exist in `_users` db) then return to the client.
   - When Pouch sync to Couch, I set X-Auth-CouchDB-Token & 
X-Auth-CouchDB-UserName headers to the request.
   
   But when the users change their password, I want to expire previous 
generated **token**, how can I do that?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to