Skip to content

Commit d771a83

Browse files
committed
replit patches
1 parent 6a7040d commit d771a83

File tree

4 files changed

+496
-11
lines changed

4 files changed

+496
-11
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# replit specific changes
2+
3+
This version of oidc-provider has the following changes:
4+
1. It uses esbuild to package a CommonJS distribution of the code.
5+
2. It exposes "instance" so we can dynamically add clients to the memory store
6+
7+
To deploy a new version:
8+
1. bump version in package.json
9+
2. `npm run build && npm pack && npm publish`
10+
111
# oidc-provider
212

313
This module provides an OAuth 2.0 ([RFC 6749][oauth2]) Authorization Server with support for OpenID Connect ([OIDC][openid-connect]) and many
@@ -60,7 +70,7 @@ your CI.
6070

6171
## Certification
6272

63-
[<img width="184" height="96" align="right" src="https://cdn.jsdelivr.net/gh/panva/node-oidc-provider@acd3ebf2f5ebbb5605463cb681a1fb2ab9742ace/OpenID_Certified.png" alt="OpenID Certification">][openid-certified-link]
73+
[<img width="184" height="96" align="right" src="https://cdn.jsdelivr.net/gh/panva/node-oidc-provider@acd3ebf2f5ebbb5605463cb681a1fb2ab9742ace/OpenID_Certified.png" alt="OpenID Certification">][openid-certified-link]
6474
Filip Skokan has [certified][openid-certified-link] that [oidc-provider][npm-url]
6575
conforms to the following profiles of the OpenID Connect™ protocol.
6676

lib/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ if (!codename || codename.charCodeAt(0) < minimal.charCodeAt(0) || typeof Bun !=
1111
import Provider from './provider.js';
1212
import * as errors from './helpers/errors.js';
1313
import * as interactionPolicy from './helpers/interaction_policy/index.js';
14+
import instance from './helpers/weak_cache.js';
1415

1516
export default Provider;
16-
export { errors, interactionPolicy, Provider };
17+
export { errors, interactionPolicy, Provider, instance };

0 commit comments

Comments
 (0)