![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
auth-center
Advanced tools
// 全局安装
npm i auth-center -g
// 非全局安装
npm i auth-center -S
完整配置文件参考:config.js
$ auth-center -h
Usage: auth-center [options] [command]
Commands:
init init config
start [options] start server
Options:
-h, --help output usage information
-v, --version output the version number
$ auth-center init
$ auth-center start -h
Usage: auth-center start [options]
start server
Options:
-h, --help output usage information
-p, --port <port> server port
--config <path> custom config path
--sync sync database to generate tables
--data <path> init data with json file
const AuthServer = require('auth-center');
const server = AuthServer({
domain: 'http://passport.example.com',
orm: {
database: 'db_auth',
username: 'root',
password: 'xxxx',
dialect: 'mysql',
host: '127.0.0.1',
port: 3306,
pool: {
maxConnections: 10,
minConnections: 0,
maxIdleTime: 30000
}
},
mail: {
from: '系统管理员 <admin@example.com>',
host: 'smtp.example.com',
port: 465,
secure: true,
auth: {
user: 'admin@example.com',
pass: 'admin'
}
}
});
server.listen(3000);
server.orm.database().sync({
force: true
}).then(() => { console.log('Sync done.'); });
git clone https://github.com/d-band/auth-center.git
cd auth-center
npm install
npm run dev
npm start
FAQs
auth center with TOTP
The npm package auth-center receives a total of 90 weekly downloads. As such, auth-center popularity was classified as not popular.
We found that auth-center 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.