Skip to content

zemirco/couchdb-cookie-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

More info at my blog

Create db cookie-auth.

CouchDB configuration:

[httpd]
enable_cors = true

[cors]
credentials = true
origins = http://localhost:3000

[couch_httpd_auth]
require_valid_user = true

Important!

Cookie name must be AuthSession. CouchDB will then automatically detect the user session.

About

CouchDB cookie authentication example with PouchDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published