Closed sullyinc closed 3 years ago
Hi,
auth/expiredKeys
exists in the sl-users
DB?This shouldn't happen if everything is set up correctly.
Ah I think a config entry under userDBs
for the model
is still expected, eventhough it should not be necessary anymore. Can you try this as a workaround?
userDBs: {
defaultDBs: {
private: ['user'],
shared: []
},
model: {
user: {}
}
}
Can you install this commit and let me know whether it fixed the issue without modifying the config?
npm i github:@sl-nx/superlogin-next#dfc9151
Fixed in the most recent release.
First, thanks for all your work on this library! I've been using it to get auth working quickly with couchdb.
Second, I'm seeing an error when attempting to register a new user with 0.14.0:
To reproduce: I think the relevant parts of my config are:
Then, I issue the following request: The request succeeds with 200 OK
But looking at the server logs I see the following stacktrace:
Do you know what this could be? I tried clearing everything in
sl-users
and_users
but still no luck.