@faable/auth-sdk 2.9.52 → 2.9.53
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/dist/api/types.d.ts +5 -1
- package/dist/version.js +2 -2
- package/package.json +1 -1
- package/spec/openapi.json +12 -2
package/dist/api/types.d.ts
CHANGED
|
@@ -33419,6 +33419,8 @@ export interface operations {
|
|
|
33419
33419
|
origin?: string;
|
|
33420
33420
|
/** @description Exact match on `action`. Equivalent to `?query=action:<value>`. */
|
|
33421
33421
|
action?: string;
|
|
33422
|
+
/** @description Exact match on `subscription`. Equivalent to `?query=subscription:<value>`. */
|
|
33423
|
+
subscription?: string;
|
|
33422
33424
|
/** @description Exact match on `browser`. Equivalent to `?query=browser:<value>`. */
|
|
33423
33425
|
browser?: string;
|
|
33424
33426
|
/** @description Exact match on `signup`. Equivalent to `?query=signup:<value>`. */
|
|
@@ -37068,6 +37070,8 @@ export interface operations {
|
|
|
37068
37070
|
*
|
|
37069
37071
|
* `invalid_redirect_uri` — The redirect URI is not registered for the client.
|
|
37070
37072
|
*
|
|
37073
|
+
* `invalid_request` — A required OAuth parameter is missing or two of them are incompatible. `message` says which.
|
|
37074
|
+
*
|
|
37071
37075
|
* `invalid_state` — The `state` is missing, expired, or does not describe a resumable step.
|
|
37072
37076
|
*
|
|
37073
37077
|
* `validation_error` — The body, query or path failed schema validation. `details.issues` lists each failing field.
|
|
@@ -37079,7 +37083,7 @@ export interface operations {
|
|
|
37079
37083
|
content: {
|
|
37080
37084
|
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
37081
37085
|
/** @enum {string} */
|
|
37082
|
-
error_code?: "invalid_client" | "invalid_connection" | "invalid_redirect_uri" | "invalid_state" | "validation_error";
|
|
37086
|
+
error_code?: "invalid_client" | "invalid_connection" | "invalid_redirect_uri" | "invalid_request" | "invalid_state" | "validation_error";
|
|
37083
37087
|
};
|
|
37084
37088
|
};
|
|
37085
37089
|
};
|
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.9.
|
|
12
|
+
export const version = "2.9.53";
|
|
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 = "
|
|
18
|
+
export const commit = "d1df4d1";
|
|
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
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.
|
|
6
|
+
"version": "2.125.0",
|
|
7
7
|
"license": {
|
|
8
8
|
"name": "private",
|
|
9
9
|
"url": "https://faable.com/docs/platform/privacy-policy"
|
|
@@ -69158,6 +69158,15 @@
|
|
|
69158
69158
|
"required": false,
|
|
69159
69159
|
"description": "Exact match on `action`. Equivalent to `?query=action:<value>`."
|
|
69160
69160
|
},
|
|
69161
|
+
{
|
|
69162
|
+
"schema": {
|
|
69163
|
+
"type": "string"
|
|
69164
|
+
},
|
|
69165
|
+
"in": "query",
|
|
69166
|
+
"name": "subscription",
|
|
69167
|
+
"required": false,
|
|
69168
|
+
"description": "Exact match on `subscription`. Equivalent to `?query=subscription:<value>`."
|
|
69169
|
+
},
|
|
69161
69170
|
{
|
|
69162
69171
|
"schema": {
|
|
69163
69172
|
"type": "string"
|
|
@@ -80542,7 +80551,7 @@
|
|
|
80542
80551
|
"description": "Default Response"
|
|
80543
80552
|
},
|
|
80544
80553
|
"400": {
|
|
80545
|
-
"description": "`invalid_client` — The `client_id` in the request does not name a client of this account.\n\n`invalid_connection` — The connection does not exist, is disabled, or is not of the type this flow needs.\n\n`invalid_redirect_uri` — The redirect URI is not registered for the client.\n\n`invalid_state` — The `state` is missing, expired, or does not describe a resumable step.\n\n`validation_error` — The body, query or path failed schema validation. `details.issues` lists each failing field.",
|
|
80554
|
+
"description": "`invalid_client` — The `client_id` in the request does not name a client of this account.\n\n`invalid_connection` — The connection does not exist, is disabled, or is not of the type this flow needs.\n\n`invalid_redirect_uri` — The redirect URI is not registered for the client.\n\n`invalid_request` — A required OAuth parameter is missing or two of them are incompatible. `message` says which.\n\n`invalid_state` — The `state` is missing, expired, or does not describe a resumable step.\n\n`validation_error` — The body, query or path failed schema validation. `details.issues` lists each failing field.",
|
|
80546
80555
|
"content": {
|
|
80547
80556
|
"application/json": {
|
|
80548
80557
|
"schema": {
|
|
@@ -80559,6 +80568,7 @@
|
|
|
80559
80568
|
"invalid_client",
|
|
80560
80569
|
"invalid_connection",
|
|
80561
80570
|
"invalid_redirect_uri",
|
|
80571
|
+
"invalid_request",
|
|
80562
80572
|
"invalid_state",
|
|
80563
80573
|
"validation_error"
|
|
80564
80574
|
]
|