@productcraft/auth-passport 0.2.2 → 0.2.4
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/README.md +2 -2
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @productcraft/auth-passport
|
|
2
2
|
|
|
3
|
-
Passport-JWT adapter for [`@productcraft/auth`](
|
|
3
|
+
Passport-JWT adapter for [`@productcraft/auth`](https://github.com/clauderanelagh/productcraft-node/tree/main/packages/auth). Plug an Auth `ConsumerScope` into a `passport-jwt` Strategy so existing Passport setups can authenticate Auth-issued tokens.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npm install @productcraft/auth @productcraft/auth-passport passport-jwt
|
|
@@ -41,4 +41,4 @@ The helper decodes the JWT header, asks the Auth `ConsumerScope` for the matchin
|
|
|
41
41
|
|
|
42
42
|
## License
|
|
43
43
|
|
|
44
|
-
[MIT](
|
|
44
|
+
[MIT](https://github.com/clauderanelagh/productcraft-node/blob/main/LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@productcraft/auth-passport",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Passport-JWT adapter for ProductCraft Auth. Plug an Auth ConsumerScope into a `passport-jwt` Strategy so existing Passport setups can authenticate Auth-issued tokens.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -36,14 +36,17 @@
|
|
|
36
36
|
"url": "git+https://github.com/clauderanelagh/productcraft-node.git",
|
|
37
37
|
"directory": "packages/auth-passport"
|
|
38
38
|
},
|
|
39
|
-
"homepage": "https://
|
|
39
|
+
"homepage": "https://productcraft.co/docs/auth",
|
|
40
|
+
"bugs": {
|
|
41
|
+
"url": "https://github.com/clauderanelagh/productcraft-node/issues"
|
|
42
|
+
},
|
|
40
43
|
"publishConfig": {
|
|
41
44
|
"access": "public",
|
|
42
45
|
"provenance": true
|
|
43
46
|
},
|
|
44
47
|
"dependencies": {
|
|
45
48
|
"jose": "^6.2.3",
|
|
46
|
-
"@productcraft/auth": "^0.
|
|
49
|
+
"@productcraft/auth": "^0.7.1"
|
|
47
50
|
},
|
|
48
51
|
"peerDependencies": {
|
|
49
52
|
"passport-jwt": "^4.0.0"
|