@absolutejs/auth 0.67.0 → 0.68.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.
@@ -117,6 +117,19 @@
117
117
  "key": "DATABASE_URL",
118
118
  "secret": true
119
119
  },
120
+ {
121
+ "description": "Absolutejs OAuth client id",
122
+ "docsUrl": "https://absolutejs.ai/dashboard",
123
+ "key": "ABSOLUTEJS_CLIENT_ID",
124
+ "when": "providersConfiguration.absolutejs"
125
+ },
126
+ {
127
+ "description": "Absolutejs OAuth client secret",
128
+ "docsUrl": "https://absolutejs.ai/dashboard",
129
+ "key": "ABSOLUTEJS_CLIENT_SECRET",
130
+ "secret": true,
131
+ "when": "providersConfiguration.absolutejs"
132
+ },
120
133
  {
121
134
  "description": "Discord OAuth client id",
122
135
  "docsUrl": "https://discord.com/developers/applications",
@@ -253,52 +266,52 @@
253
266
  "type": "object",
254
267
  "properties": {
255
268
  "cleanupIntervalMs": {
269
+ "type": "number",
256
270
  "description": "How often expired sessions are swept, in milliseconds.",
257
271
  "minimum": 1000,
258
272
  "title": "Session cleanup interval",
259
- "x-group": "advanced",
260
- "type": "number"
273
+ "x-group": "advanced"
261
274
  },
262
275
  "cookieSecure": {
276
+ "type": "boolean",
263
277
  "description": "Only send the sign-in cookie over HTTPS. Leave off in local development.",
264
278
  "title": "HTTPS-only cookies",
265
- "x-group": "advanced",
266
- "type": "boolean"
279
+ "x-group": "advanced"
267
280
  },
268
281
  "maxSessions": {
282
+ "type": "integer",
269
283
  "description": "How many devices someone can stay signed in on at once.",
270
284
  "minimum": 1,
271
285
  "title": "Signed-in devices per person",
272
- "x-group": "sessions",
273
- "type": "integer"
286
+ "x-group": "sessions"
274
287
  },
275
288
  "providersConfiguration": {
276
- "description": "Which services people can sign in with. Each needs a client id and secret from that provider.",
277
- "title": "Sign-in providers",
278
- "x-group": "providers",
279
289
  "type": "object",
280
290
  "patternProperties": {
281
- "^(.*)$": {
291
+ "^.*$": {
282
292
  "type": "object",
283
293
  "properties": {
284
294
  "scope": {
285
- "description": "Extra permissions to request from the provider.",
286
- "title": "Permissions",
287
295
  "type": "array",
288
296
  "items": {
289
297
  "type": "string"
290
- }
298
+ },
299
+ "description": "Extra permissions to request from the provider.",
300
+ "title": "Permissions"
291
301
  }
292
302
  }
293
303
  }
294
- }
304
+ },
305
+ "description": "Which services people can sign in with. Each needs a client id and secret from that provider.",
306
+ "title": "Sign-in providers",
307
+ "x-group": "providers"
295
308
  },
296
309
  "sessionDurationMs": {
310
+ "type": "number",
297
311
  "description": "How long someone stays signed in, in milliseconds. Default is 7 days.",
298
312
  "minimum": 60000,
299
313
  "title": "Stay signed in for",
300
- "x-group": "sessions",
301
- "type": "number"
314
+ "x-group": "sessions"
302
315
  }
303
316
  }
304
317
  },