@faable/auth-sdk 2.8.11 → 2.8.13

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.
@@ -33470,8 +33470,10 @@ export interface operations {
33470
33470
  query: {
33471
33471
  /** @description A ticket from `POST /oauth/link_ticket`, single use. */
33472
33472
  ticket: string;
33473
- /** @description Where to go once the session is open: a path of this host under `/flow/` (e.g. `/flow/account/security?client_id=…`). */
33473
+ /** @description Where to go once the session is open: a path of this host under `/flow/` (e.g. `/flow/account/security?client_id=…`), or — with `client_id` — a URL on one of that client’s own origins (its `web_origins` or the origin of a registered callback). */
33474
33474
  redirect_to: string;
33475
+ /** @description The OAuth `client_id` the ticket was minted for. Required when `redirect_to` leaves `/flow/`: it is what the return URL is checked against, before the ticket is spent. */
33476
+ client_id?: string;
33475
33477
  };
33476
33478
  header?: never;
33477
33479
  path?: never;
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.11";
12
+ export const version = "2.8.13";
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 = "3a3fd61";
18
+ export const commit = "e4a4369";
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.11",
3
+ "version": "2.8.13",
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.83.0",
6
+ "version": "2.83.2",
7
7
  "license": {
8
8
  "name": "private",
9
9
  "url": "https://faable.com/docs/platform/privacy-policy"
@@ -72150,7 +72150,16 @@
72150
72150
  "in": "query",
72151
72151
  "name": "redirect_to",
72152
72152
  "required": true,
72153
- "description": "Where to go once the session is open: a path of this host under `/flow/` (e.g. `/flow/account/security?client_id=…`)."
72153
+ "description": "Where to go once the session is open: a path of this host under `/flow/` (e.g. `/flow/account/security?client_id=…`), or — with `client_id` — a URL on one of that client’s own origins (its `web_origins` or the origin of a registered callback)."
72154
+ },
72155
+ {
72156
+ "schema": {
72157
+ "type": "string"
72158
+ },
72159
+ "in": "query",
72160
+ "name": "client_id",
72161
+ "required": false,
72162
+ "description": "The OAuth `client_id` the ticket was minted for. Required when `redirect_to` leaves `/flow/`: it is what the return URL is checked against, before the ticket is spent."
72154
72163
  }
72155
72164
  ],
72156
72165
  "responses": {