The data folder
What OpenAuth saves on disk and where.
OpenAuth keeps its data in the databases folder inside the OpenAuth folder. In the Docker image the folder is /www/.src/databases.
| File or folder | What it holds |
|---|---|
memorize_data.json | The name, the primary access token, the OpenPlatform tokens and the app tokens. |
extensions/ | One .js file per installed extension. |
extensions.json | The settings of every extension, such as the App ID and secret. |
logs.nosql | The sign-in log. |
Changes in Configuration and Tokens are written a few seconds after you save them.
Sign-ins in progress and profiles waiting to be read are not on disk; they are kept in memory for 15 minutes.
The files hold secrets: the primary access token, the app tokens and the provider secrets. Keep the folder readable only by the user that runs OpenAuth, and protect your backups the same way. See Back up your data.