@faable/auth-sdk 2.8.8 → 2.8.9

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.
@@ -5876,6 +5876,8 @@ export interface components {
5876
5876
  configured_provider: boolean;
5877
5877
  /** @description Faable ships a shared OAuth app for this provider, so a tenant can enable it without registering anything of its own. */
5878
5878
  supports_default_credentials: boolean;
5879
+ /** @description Scopes requested from the provider when a connection of this type stores none of its own. Empty for types without an upstream identity provider. */
5880
+ default_scope: string[];
5879
5881
  /** @description Provider documentation for tenants registering their own OAuth app. */
5880
5882
  docs?: {
5881
5883
  label: string;
package/dist/version.js CHANGED
@@ -9,13 +9,13 @@
9
9
  // login pages could not import the SDK at all. Same pattern as auth-js.
10
10
  //
11
11
  // The sentinels MUST stay byte-identical to the `from` values in `.releaserc`.
12
- export const version = "2.8.8";
12
+ export const version = "2.8.9";
13
13
  // Short git SHA of the released commit. The version dates a build; this names
14
14
  // the exact tree, so a canonical log line or an audit entry leads straight to
15
15
  // `git show <sha>`. Deliberately NOT hex: an unreleased build (dev, a local
16
16
  // link) cannot be mistaken for a real commit — auth only records values that
17
17
  // look like a SHA, and this one never will.
18
- export const commit = "4983247";
18
+ export const commit = "751885d";
19
19
  // What this SDK writes in `x-faable-client`. Exported for a consumer that
20
20
  // builds a strategy on its own (outside `FaableAuthApi`) and still wants the
21
21
  // token request attributed — a bare `authClientCredentials` stamps only what
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faable/auth-sdk",
3
- "version": "2.8.8",
3
+ "version": "2.8.9",
4
4
  "author": "Marc Pomar <marc@faable.com>",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/spec/openapi.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "@faablecloud/auth",
5
5
  "description": "Auth Platform made by Faable. Manage Users and Roles",
6
- "version": "2.81.4",
6
+ "version": "2.82.0",
7
7
  "license": {
8
8
  "name": "private",
9
9
  "url": "https://faable.com/docs/platform/privacy-policy"
@@ -1284,7 +1284,8 @@
1284
1284
  "icon",
1285
1285
  "category",
1286
1286
  "configured_provider",
1287
- "supports_default_credentials"
1287
+ "supports_default_credentials",
1288
+ "default_scope"
1288
1289
  ],
1289
1290
  "properties": {
1290
1291
  "type": {
@@ -1325,6 +1326,13 @@
1325
1326
  "type": "boolean",
1326
1327
  "description": "Faable ships a shared OAuth app for this provider, so a tenant can enable it without registering anything of its own."
1327
1328
  },
1329
+ "default_scope": {
1330
+ "type": "array",
1331
+ "items": {
1332
+ "type": "string"
1333
+ },
1334
+ "description": "Scopes requested from the provider when a connection of this type stores none of its own. Empty for types without an upstream identity provider."
1335
+ },
1328
1336
  "docs": {
1329
1337
  "type": "object",
1330
1338
  "required": [