Gathering detailed insights and metrics for @strongnguyen/oidc-provider
Gathering detailed insights and metrics for @strongnguyen/oidc-provider
OpenID Certifiedâ„¢ OAuth 2.0 Authorization Server implementation for Node.js
npm install @strongnguyen/oidc-provider
Typescript
Module System
Min. Node Version
Node Version
NPM Version
65.8
Supply Chain
96.7
Quality
77.6
Maintenance
50
Vulnerability
100
License
JavaScript (98.75%)
TypeScript (0.63%)
EJS (0.61%)
Total Downloads
2,737
Last Day
6
Last Week
31
Last Month
107
Last Year
1,417
2,504 Commits
3 Forks
5 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
7.16.3
Package Id
@strongnguyen/oidc-provider@7.16.3
Unpacked Size
556.45 kB
Size
135.85 kB
File Count
202
NPM Version
10.7.0
Node Version
18.20.3
Publised On
25 Nov 2024
Cumulative downloads
Total Downloads
Last day
200%
6
Compared to previous day
Last week
29.2%
31
Compared to previous week
Last month
72.6%
107
Compared to previous month
Last year
7.3%
1,417
Compared to previous year
15
26
1
oidc-provider is an OAuth 2.0 Authorization Server with OpenID Connect and many additional features and standards implemented.
Table of Contents
The following specifications are implemented by oidc-provider:
Note that not all features are enabled by default, check the configuration section on how to enable them.
Supported Access Token formats:
The following draft specifications are implemented by oidc-provider:
Updates to draft specification versions are released as MINOR library versions,
if you utilize these specification implementations consider using the tilde ~
operator in your
package.json since breaking changes may be introduced as part of these version updates. Alternatively
acknowledge the version and be notified of breaking changes as part of
your CI.
Filip Skokan has certified that oidc-provider
conforms to the following profiles of the OpenID Connectâ„¢ protocol
If you want to quickly add OpenID Connect authentication to Node.js apps, feel free to check out Auth0's Node.js SDK and free plan. Create an Auth0 account; it's free!
If you or your business use oidc-provider, or you need help using/upgrading the module, please consider becoming a sponsor so I can continue maintaining it and adding new features carefree. The only way to guarantee you get feedback from the author & sole maintainer of this module is to support the package through GitHub Sponsors.
You may check the example folder or follow a step by step example to see which of those fits your desired application setup.
Also be sure to check the available configuration docs section.
oidc-provider can be mounted to existing connect, express, fastify, hapi, or koa applications, see how. The provider allows to be extended and configured in various ways to fit a variety of uses. See the documentation.
1const { Provider } = require('oidc-provider'); 2const configuration = { 3 // ... see /docs for available configuration 4 clients: [{ 5 client_id: 'foo', 6 client_secret: 'bar', 7 redirect_uris: ['http://lvh.me:8080/cb'], 8 // ... other client properties 9 }], 10}; 11 12const oidc = new Provider('http://localhost:3000', configuration); 13 14oidc.listen(3000, () => { 15 console.log('oidc-provider listening on port 3000, check http://localhost:3000/.well-known/openid-configuration'); 16});
Collection of useful configurations use cases are available over at recipes.
oidc-provider instances are event emitters, using event handlers you can hook into the various actions and i.e. emit metrics that react to specific triggers. See the list of available emitted event names and their description.
No vulnerabilities found.
No security vulnerabilities found.