Comments (6)
Hi, I think you can't. Superlogin use its own users DB.
from superlogin.
So then, why is dbServer.couchAuthDB option available?
Which is it's purpose? I'm little bit confused with this.
from superlogin.
It's because there is a difference between coudDB and Cloudant.
from superlogin.
@ander2 SuperLogin does not authenticate users directly with CouchDB, it only authenticates a user's sessions. When a user authenticates with SuperLogin, a (random) session key and password are generated. These credentials are temporary and can be used to authenticate with both your Node/Express API and CouchDB. The reason for this is that it is bad security to store a username and password (which may be the same on other sites) on a device and transmit it to the server on every request.
If you want normal simple CouchDB login, then SuperLogin is probably overkill for your needs. I created SuperLogin to increase the level of security and enable CouchDB and Node APIs to use the same authentication scheme.
from superlogin.
@colinskow It is a smart idea to authenticate users' sessions in _users table. I was very excited when I first found this project. It does the exact things I had in my mind with the exact technology stack for my current project. It saved me a lot of time. Big thanks to you!!
from superlogin.
@colinskow Ditto. Very cool and just what I needed. Lovin' it :) !
from superlogin.
Related Issues (20)
- How can I remove confirmPassword requirement?
- Validation failed HOT 8
- Validation failed HOT 1
- Calling /auth/session with authorization header is returning unauthorized HOT 1
- Use template-literal instead of EJS
- user-db-added event doesn't get emitted HOT 1
- New release? HOT 13
- Validation Failed HOT 1
- Register vaildation failed HOT 18
- Mandatory Migration from Cloudant to BlueMix not compatible with Superlogin HOT 1
- Superlogin with CouchDB crypto.pbkdf2 "digest" argument required HOT 1
- how to add profile data with registration?
- removeUser not working
- Live demo isn't working HOT 1
- Forgot Password function
- TypeError: Cannot read property 'valid' of undefined at Function.PouchDB.parseAdapter
- Howto: use superlogin with current nodejs HOT 6
- Set a Doc create limit per user
- super login spaming console with errors
- Graphql
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superlogin.