@faable/auth-sdk 2.7.31 → 2.7.32
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 +20 -2
package/dist/api/types.d.ts
CHANGED
|
@@ -25015,6 +25015,8 @@ export interface operations {
|
|
|
25015
25015
|
connection_scope?: string;
|
|
25016
25016
|
/** @description Link mode: attach the resulting provider identity to the ACTIVE session user instead of signing in or up. Requires a session; incompatible with prompt=login/consent. */
|
|
25017
25017
|
link?: boolean;
|
|
25018
|
+
/** @description Comma-separated methods the hosted login screen shows for this login: connection ids or connection names, and `passkey`. Each must be one the client already offers; the screen keeps the order configured for the client. Filters the screen only — it does not restrict which method the credential endpoints accept. Not combinable with `connection`, which skips the screen instead of narrowing it. */
|
|
25019
|
+
login_methods?: string;
|
|
25018
25020
|
/** @description Preview token from `POST /loginflow/:id/preview-token`. This login runs the DRAFT of that flow, for this browser only; nothing is published. Invalid or expired tokens are ignored. */
|
|
25019
25021
|
flow_preview?: string;
|
|
25020
25022
|
/** @description Resume the login transaction the hosted screen has parked, instead of starting a new one. Used by the screen itself when the person picks a method: everything that belongs to the Relying Party — `code_challenge`, `state`, `redirect_uri`, `nonce`, `scope`, `audience` — is taken from the parked transaction and CANNOT be overridden by the query. Only `connection` is read from the caller. */
|
|
@@ -25057,6 +25059,8 @@ export interface operations {
|
|
|
25057
25059
|
/**
|
|
25058
25060
|
* @description `invalid_client` — The `client_id` in the request does not name a client of this account.
|
|
25059
25061
|
*
|
|
25062
|
+
* `invalid_connection` — The connection does not exist, is disabled, or is not of the type this flow needs.
|
|
25063
|
+
*
|
|
25060
25064
|
* `invalid_redirect_uri` — The redirect URI is not registered for the client.
|
|
25061
25065
|
*
|
|
25062
25066
|
* `invalid_state` — The `state` is missing, expired, or does not describe a resumable step.
|
|
@@ -25070,7 +25074,7 @@ export interface operations {
|
|
|
25070
25074
|
content: {
|
|
25071
25075
|
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
25072
25076
|
/** @enum {string} */
|
|
25073
|
-
error_code?: "invalid_client" | "invalid_redirect_uri" | "invalid_state" | "validation_error";
|
|
25077
|
+
error_code?: "invalid_client" | "invalid_connection" | "invalid_redirect_uri" | "invalid_state" | "validation_error";
|
|
25074
25078
|
};
|
|
25075
25079
|
};
|
|
25076
25080
|
};
|
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.
|
|
12
|
+
export const version = "2.7.32";
|
|
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 = "7264021";
|
|
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.37.0",
|
|
7
7
|
"license": {
|
|
8
8
|
"name": "private",
|
|
9
9
|
"url": "https://faable.com/docs/platform/privacy-policy"
|
|
@@ -54968,6 +54968,23 @@
|
|
|
54968
54968
|
"required": false,
|
|
54969
54969
|
"description": "Link mode: attach the resulting provider identity to the ACTIVE session user instead of signing in or up. Requires a session; incompatible with prompt=login/consent."
|
|
54970
54970
|
},
|
|
54971
|
+
{
|
|
54972
|
+
"schema": {
|
|
54973
|
+
"type": "string"
|
|
54974
|
+
},
|
|
54975
|
+
"examples": {
|
|
54976
|
+
"connection_6475d947ea96eb57c2062c90": {
|
|
54977
|
+
"value": "connection_6475d947ea96eb57c2062c90"
|
|
54978
|
+
},
|
|
54979
|
+
"email,passkey": {
|
|
54980
|
+
"value": "email,passkey"
|
|
54981
|
+
}
|
|
54982
|
+
},
|
|
54983
|
+
"in": "query",
|
|
54984
|
+
"name": "login_methods",
|
|
54985
|
+
"required": false,
|
|
54986
|
+
"description": "Comma-separated methods the hosted login screen shows for this login: connection ids or connection names, and `passkey`. Each must be one the client already offers; the screen keeps the order configured for the client. Filters the screen only — it does not restrict which method the credential endpoints accept. Not combinable with `connection`, which skips the screen instead of narrowing it."
|
|
54987
|
+
},
|
|
54971
54988
|
{
|
|
54972
54989
|
"schema": {
|
|
54973
54990
|
"type": "string"
|
|
@@ -55098,7 +55115,7 @@
|
|
|
55098
55115
|
"description": "Default Response"
|
|
55099
55116
|
},
|
|
55100
55117
|
"400": {
|
|
55101
|
-
"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`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.",
|
|
55118
|
+
"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.",
|
|
55102
55119
|
"content": {
|
|
55103
55120
|
"application/json": {
|
|
55104
55121
|
"schema": {
|
|
@@ -55113,6 +55130,7 @@
|
|
|
55113
55130
|
"type": "string",
|
|
55114
55131
|
"enum": [
|
|
55115
55132
|
"invalid_client",
|
|
55133
|
+
"invalid_connection",
|
|
55116
55134
|
"invalid_redirect_uri",
|
|
55117
55135
|
"invalid_state",
|
|
55118
55136
|
"validation_error"
|