nodeSolidServer / node-solid-server

Solid server on top of the file-system in NodeJS
https://solidproject.org/for-developers/pod-server
Other
1.78k stars 303 forks source link

clear the codes/ dir on startup #968

Open timbl opened 5 years ago

timbl commented 5 years ago

a server seems to have alot of .db/oidc/op/codes/_key_cff7d8a8431204...d674613a4dd6b.json

giter chat: https://gitter.im/solid/node-solid-server?at=5bf7d650fa7bbb3fe0ef4b80

timbl commented 5 years ago

Note just codes, the whole db I asume

RubenVerborgh commented 5 years ago

Clearing the whole db definitely would break all existing logins. solid-auth-client creates a new OIDC application for every combination of browser + return URL.

melvincarvalho commented 5 years ago

The .db directory has always been a bit of a black box to me.

Is the structure / API documented somewhere?

kjetilk commented 5 years ago

The .db directory has always been a bit of a black box to me.

Is the structure / API documented somewhere?

Not a lot, AFAIK. It is used by https://github.com/solid/oidc-auth-manager (and only that, AFAICT), is a custom key-value store: https://github.com/solid/kvplus-files