
Security News
Feross on TBPN: Socket's Series C and the State of Software Supply Chain Security
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.
@osjs/sqlite-auth
Advanced tools
OS.js is an open-source desktop implementation for your browser with a fully-fledged window manager, Application APIs, GUI toolkits and filesystem abstraction.
This is the Sqlite Auth Provider for OS.js v3
IT IS HIGHLY RECOMMENDED THAT YOU USE https://github.com/os-js/osjs-database-auth INSTEAD
In your server bootstrap script (src/server/index.js) modify the provider registration:
const sqliteAuth = require('@osjs/sqlite-auth');
core.register(AuthServiceProvider, {
args: {
adapter: sqliteAuth.adapter,
config: {
// Custom Database path
//database: '/data/osjs.sqlite',
}
}
});
To get CLI commands to manage users, you'll have to modify your CLI bootstrap script (src/cli/index.js):
const sqliteAuth = require('@osjs/sqlite-auth');
const sqliteCli = sqliteAuth.cli({
// Custom Database path
//database: '/data/osjs.sqlite',
});
module.exports = [sqliteCli];
You can no manage users with ex. npx osjs-cli <task>
Available tasks:
user:list - Lists usersuser:add --username=STR - Adds useruser:pwd --username=STR - Changes user passworduser:remove --username=STR - Removes userFAQs
OS.js v3 sqlite authentication provider
We found that @osjs/sqlite-auth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.

Security News
OSV withdrew 157 OSV malware reports after automated false positives incorrectly flagged trusted npm and PyPI packages, sending bad records into tools that rely on OSV data.

Research
/Security News
TrapDoor crypto stealer hits 36 malicious packages across npm, PyPI, and Crates.io, targeting crypto, DeFi, AI, and security developers.