@depup/express-openid-connect 2.19.4-depup.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/README.md +37 -0
- package/changes.json +34 -0
- package/index.d.ts +1055 -0
- package/index.js +9 -0
- package/lib/appSession.js +420 -0
- package/lib/client.js +167 -0
- package/lib/config.js +326 -0
- package/lib/context.js +498 -0
- package/lib/cookies.js +3 -0
- package/lib/crypto.js +119 -0
- package/lib/debug.js +2 -0
- package/lib/hooks/backchannelLogout/isLoggedOut.js +22 -0
- package/lib/hooks/backchannelLogout/onLogIn.js +21 -0
- package/lib/hooks/backchannelLogout/onLogoutToken.js +37 -0
- package/lib/hooks/getLoginState.js +51 -0
- package/lib/once.js +19 -0
- package/lib/transientHandler.js +155 -0
- package/lib/utils/promisifyCompat.js +90 -0
- package/lib/weakCache.js +8 -0
- package/middleware/attemptSilentLogin.js +66 -0
- package/middleware/auth.js +129 -0
- package/middleware/requiresAuth.js +133 -0
- package/middleware/unauthorizedHandler.js +15 -0
- package/package.json +129 -0
package/package.json
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@depup/express-openid-connect",
|
|
3
|
+
"version": "2.19.4-depup.0",
|
|
4
|
+
"description": "Express middleware to protect web applications using OpenID Connect. (with updated dependencies)",
|
|
5
|
+
"repository": "auth0/express-openid-connect",
|
|
6
|
+
"homepage": "https://github.com/auth0/express-openid-connect",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"author": "Auth0 <support@auth0.com>",
|
|
9
|
+
"main": "index.js",
|
|
10
|
+
"files": [
|
|
11
|
+
"lib",
|
|
12
|
+
"middleware",
|
|
13
|
+
"index.d.ts",
|
|
14
|
+
"changes.json",
|
|
15
|
+
"README.md"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"lint": "eslint .",
|
|
19
|
+
"start:example": "node ./examples/run_example.js",
|
|
20
|
+
"test": "mocha --max-http-header-size=16384",
|
|
21
|
+
"test:ci": "nyc --reporter=lcov npm test",
|
|
22
|
+
"test:types": "tsd .",
|
|
23
|
+
"docs": "typedoc --options typedoc.js index.d.ts",
|
|
24
|
+
"test:end-to-end": "mocha end-to-end"
|
|
25
|
+
},
|
|
26
|
+
"mocha": {
|
|
27
|
+
"exit": true,
|
|
28
|
+
"file": "./test/setup.js",
|
|
29
|
+
"timeout": 10000
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"base64url": "^3.0.1",
|
|
33
|
+
"clone": "^2.1.2",
|
|
34
|
+
"cookie": "^1.1.1",
|
|
35
|
+
"debug": "^4.4.3",
|
|
36
|
+
"futoin-hkdf": "^1.5.3",
|
|
37
|
+
"http-errors": "^2.0.1",
|
|
38
|
+
"joi": "^18.0.2",
|
|
39
|
+
"jose": "^6.2.2",
|
|
40
|
+
"on-headers": "^1.1.0",
|
|
41
|
+
"openid-client": "^6.8.2",
|
|
42
|
+
"url-join": "^5.0.0",
|
|
43
|
+
"util-promisify": "3.0.0"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@types/express": "^4.17.23",
|
|
47
|
+
"@types/node": "^18.19.119",
|
|
48
|
+
"chai": "^4.5.0",
|
|
49
|
+
"chai-as-promised": "^7.1.2",
|
|
50
|
+
"connect-redis": "^5.2.0",
|
|
51
|
+
"dotenv": "^8.6.0",
|
|
52
|
+
"eslint": "^9.31.0",
|
|
53
|
+
"express": "^4.21.2",
|
|
54
|
+
"express-oauth2-jwt-bearer": "^1.6.1",
|
|
55
|
+
"husky": "^4.3.8",
|
|
56
|
+
"lodash": "^4.17.21",
|
|
57
|
+
"memorystore": "^1.6.7",
|
|
58
|
+
"mocha": "^10.8.2",
|
|
59
|
+
"nock": "^11.9.1",
|
|
60
|
+
"nyc": "^15.1.0",
|
|
61
|
+
"oidc-provider": "^6.31.1",
|
|
62
|
+
"prettier": "^3.6.2",
|
|
63
|
+
"pretty-quick": "^4.2.2",
|
|
64
|
+
"puppeteer": "^24.31.0",
|
|
65
|
+
"redis-mock": "^0.56.3",
|
|
66
|
+
"request": "^2.88.2",
|
|
67
|
+
"request-promise-native": "^1.0.9",
|
|
68
|
+
"sinon": "^7.5.0",
|
|
69
|
+
"tsd": "^0.33.0",
|
|
70
|
+
"typedoc": "^0.28.7",
|
|
71
|
+
"typescript": "^5.8.3"
|
|
72
|
+
},
|
|
73
|
+
"peerDependencies": {
|
|
74
|
+
"express": ">= 4.17.0"
|
|
75
|
+
},
|
|
76
|
+
"engines": {
|
|
77
|
+
"node": "^10.19.0 || >=12.0.0 < 13 || >=13.7.0 < 14 || >= 14.2.0"
|
|
78
|
+
},
|
|
79
|
+
"husky": {
|
|
80
|
+
"hooks": {
|
|
81
|
+
"pre-commit": "pretty-quick --staged"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"keywords": [
|
|
85
|
+
"express-openid-connect",
|
|
86
|
+
"depup",
|
|
87
|
+
"updated-dependencies",
|
|
88
|
+
"security",
|
|
89
|
+
"latest",
|
|
90
|
+
"patched"
|
|
91
|
+
],
|
|
92
|
+
"depup": {
|
|
93
|
+
"changes": {
|
|
94
|
+
"cookie": {
|
|
95
|
+
"from": "^0.7.2",
|
|
96
|
+
"to": "^1.1.1"
|
|
97
|
+
},
|
|
98
|
+
"debug": {
|
|
99
|
+
"from": "^4.4.1",
|
|
100
|
+
"to": "^4.4.3"
|
|
101
|
+
},
|
|
102
|
+
"http-errors": {
|
|
103
|
+
"from": "^1.8.1",
|
|
104
|
+
"to": "^2.0.1"
|
|
105
|
+
},
|
|
106
|
+
"joi": {
|
|
107
|
+
"from": "^17.13.3",
|
|
108
|
+
"to": "^18.0.2"
|
|
109
|
+
},
|
|
110
|
+
"jose": {
|
|
111
|
+
"from": "^2.0.7",
|
|
112
|
+
"to": "^6.2.2"
|
|
113
|
+
},
|
|
114
|
+
"openid-client": {
|
|
115
|
+
"from": "^4.9.1",
|
|
116
|
+
"to": "^6.8.2"
|
|
117
|
+
},
|
|
118
|
+
"url-join": {
|
|
119
|
+
"from": "^4.0.1",
|
|
120
|
+
"to": "^5.0.0"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"depsUpdated": 7,
|
|
124
|
+
"originalPackage": "express-openid-connect",
|
|
125
|
+
"originalVersion": "2.19.4",
|
|
126
|
+
"processedAt": "2026-03-19T03:03:42.245Z",
|
|
127
|
+
"smokeTest": "failed"
|
|
128
|
+
}
|
|
129
|
+
}
|