@webda/google-auth 3.2.1 → 3.2.3
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/package.json +4 -4
- package/webda.module.json +13 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webda/google-auth",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.3",
|
|
4
4
|
"description": "Webda Google Authentication",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/loopingz/webda.io#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@webda/core": "^3.
|
|
34
|
+
"@webda/core": "^3.18.1",
|
|
35
35
|
"google-auth-library": "^9.0.0"
|
|
36
36
|
},
|
|
37
37
|
"c8": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@testdeck/mocha": "^0.3.2",
|
|
54
54
|
"@types/node": "18.11.13",
|
|
55
|
-
"@webda/shell": "^3.13.
|
|
55
|
+
"@webda/shell": "^3.13.2",
|
|
56
56
|
"node-fetch": "^3.3.1",
|
|
57
57
|
"sinon": "^18.0.0"
|
|
58
58
|
},
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"@webda/shell"
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "1f7922b43dc46514e644e94c88f4c354a51bf4a1"
|
|
70
70
|
}
|
package/webda.module.json
CHANGED
|
@@ -98,6 +98,10 @@
|
|
|
98
98
|
"description": "Name of the authentication service to use if exist",
|
|
99
99
|
"default": "Authentication"
|
|
100
100
|
},
|
|
101
|
+
"defaultHeaders": {
|
|
102
|
+
"$ref": "#/definitions/Record%3Cstring%2Cstring%3E",
|
|
103
|
+
"description": "Default headers to include in the OAuth requests"
|
|
104
|
+
},
|
|
101
105
|
"client_id": {
|
|
102
106
|
"type": "string",
|
|
103
107
|
"description": "Google Auth Client id"
|
|
@@ -153,12 +157,21 @@
|
|
|
153
157
|
"authenticationService",
|
|
154
158
|
"client_id",
|
|
155
159
|
"client_secret",
|
|
160
|
+
"defaultHeaders",
|
|
156
161
|
"no_referer",
|
|
157
162
|
"redirects",
|
|
158
163
|
"type"
|
|
159
164
|
],
|
|
160
165
|
"description": "Credentials to manage Google Auth https://developers.google.com/identity/protocols/oauth2",
|
|
161
166
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
167
|
+
"definitions": {
|
|
168
|
+
"Record<string,string>": {
|
|
169
|
+
"type": "object",
|
|
170
|
+
"additionalProperties": {
|
|
171
|
+
"type": "string"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
162
175
|
"title": "GoogleAuthentication"
|
|
163
176
|
}
|
|
164
177
|
}
|