@faable/auth-sdk 2.7.5 → 2.7.7

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.
@@ -23974,6 +23974,8 @@ export interface operations {
23974
23974
  /**
23975
23975
  * @description `invalid_client` — The `client_id` in the request does not name a client of this account.
23976
23976
  *
23977
+ * `invalid_redirect_uri` — The redirect URI is not registered for the client.
23978
+ *
23977
23979
  * `validation_error` — The body, query or path failed schema validation. `details.issues` lists each failing field.
23978
23980
  */
23979
23981
  400: {
@@ -23983,7 +23985,7 @@ export interface operations {
23983
23985
  content: {
23984
23986
  "application/json": components["schemas"]["ErrorResponse"] & {
23985
23987
  /** @enum {string} */
23986
- error_code?: "invalid_client" | "validation_error";
23988
+ error_code?: "invalid_client" | "invalid_redirect_uri" | "validation_error";
23987
23989
  };
23988
23990
  };
23989
23991
  };
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.7.5";
12
+ export const version = "2.7.7";
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 = "f092c9f";
18
+ export const commit = "01f17c4";
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.7.5",
3
+ "version": "2.7.7",
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.25.0",
6
+ "version": "2.25.2",
7
7
  "license": {
8
8
  "name": "private",
9
9
  "url": "https://faable.com/docs/platform/privacy-policy"
@@ -52936,7 +52936,7 @@
52936
52936
  "description": "Default Response"
52937
52937
  },
52938
52938
  "400": {
52939
- "description": "`invalid_client` — The `client_id` in the request does not name a client of this account.\n\n`validation_error` — The body, query or path failed schema validation. `details.issues` lists each failing field.",
52939
+ "description": "`invalid_client` — The `client_id` in the request does not name a client of this account.\n\n`invalid_redirect_uri` — The redirect URI is not registered for the client.\n\n`validation_error` — The body, query or path failed schema validation. `details.issues` lists each failing field.",
52940
52940
  "content": {
52941
52941
  "application/json": {
52942
52942
  "schema": {
@@ -52951,6 +52951,7 @@
52951
52951
  "type": "string",
52952
52952
  "enum": [
52953
52953
  "invalid_client",
52954
+ "invalid_redirect_uri",
52954
52955
  "validation_error"
52955
52956
  ]
52956
52957
  }