Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
collective-oauth-server
Advanced tools
Simple OAuth2.0 server for communicating with the Widen Media Collective's REST API.
This works best when node-collective-oauth-server
is a dependency of your project:
npm install --save collective-oauth-server
This works best when you just want to try node-collective-oauth-server
, or get a simple OAuth2 server for Collective started ASAP.
npm install -g collective-oauth-server
Then you can:
Programatically:
a)
var collective_server = require('collective-oauth-server').server;
var server = collective_server(opts);
server.listen();
b)
From command line:
./node_modules/.bin/collective-oauth-server
c)
In package.son
:
"scripts": {
"start": "collective-auth-server"
}
From command line:
collective-oauth-server
usage: collective-oauth-server [OPTIONS]
options:
--host=ARG, --hostname=ARG The the local host to run as (default:
localhost). Environment: HOSTNAME=ARG
-p NUM, --port=NUM The local port to run as (default: 80).
Environment: PORT=NUM
--collective-protocol=ARG The Widen Collective protocol (default:
https). Environment:
COLLECTIVE_PROTOCOL=ARG
--collective-host=ARG The Widen Collective host (default:
demo.widencollective.com). Environment: COLLECTIVE_HOST=ARG
--collective-port=NUM The Widen Collective port (default: 80).
Environment: COLLECTIVE_PORT=NUM
--username=ARG, --client-id=ARG, --collective-client-id=ARG
OAuth client id. Suggested to use
environment variables instead.
Environment: --username=ARG, --client-id=ARG, --collective-client-id=ARG
OAuth client id. Suggested to use
environment variables instead.
Environment: COLLECTIVE_CLIENT_ID=ARG
--password=ARG, --client-secret=ARG, --collective-client-secret=ARG
OAuth client secret. Suggested to use
environment variables instead.
Environment:
--password=ARG, --client-secret=ARG, --collective-client-secret=ARG
OAuth client secret. Suggested to use
environment variables instead.
Environment:
COLLECTIVE_CLIENT_SECRET=ARG
--static=ARG Path to host static files from (default:
./static). Environment:
COLLECTIVE_STATIC=ARG
-v, --verbose Verbose output. Use multiple times for
more verbose.
--version Print version and exit.
-h, --help
FAQs
Handle Widen Collective OAuth and host static files
The npm package collective-oauth-server receives a total of 24 weekly downloads. As such, collective-oauth-server popularity was classified as not popular.
We found that collective-oauth-server 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.