@faable/auth-sdk 2.7.43 → 2.7.44
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 +143 -0
- package/dist/version.js +2 -2
- package/package.json +1 -1
- package/spec/openapi.json +264 -1
package/dist/api/types.d.ts
CHANGED
|
@@ -3936,6 +3936,26 @@ export interface paths {
|
|
|
3936
3936
|
patch?: never;
|
|
3937
3937
|
trace?: never;
|
|
3938
3938
|
};
|
|
3939
|
+
"/select-account": {
|
|
3940
|
+
parameters: {
|
|
3941
|
+
query?: never;
|
|
3942
|
+
header?: never;
|
|
3943
|
+
path?: never;
|
|
3944
|
+
cookie?: never;
|
|
3945
|
+
};
|
|
3946
|
+
get?: never;
|
|
3947
|
+
put?: never;
|
|
3948
|
+
/**
|
|
3949
|
+
* Answer the account chooser of a prompt=select_account login
|
|
3950
|
+
* @description Resumes an authorization request that `/authorize` parked on the hosted account chooser. Requires the session cookie of the user the chooser was shown to. Returns where the browser goes next: the client callback with a code, or a login screen.
|
|
3951
|
+
*/
|
|
3952
|
+
post: operations["oauth/selectAccount"];
|
|
3953
|
+
delete?: never;
|
|
3954
|
+
options?: never;
|
|
3955
|
+
head?: never;
|
|
3956
|
+
patch?: never;
|
|
3957
|
+
trace?: never;
|
|
3958
|
+
};
|
|
3939
3959
|
"/oauth/link_ticket": {
|
|
3940
3960
|
parameters: {
|
|
3941
3961
|
query?: never;
|
|
@@ -6512,6 +6532,14 @@ export interface components {
|
|
|
6512
6532
|
/** @description OIDC §3.1.2.1 — maximum allowable elapsed time in seconds since the last End-User authentication. If exceeded, the OP re-authenticates and `auth_time` is REQUIRED in the resulting id_token. */
|
|
6513
6533
|
max_age?: number;
|
|
6514
6534
|
prompt?: string;
|
|
6535
|
+
/** @description OIDC §3.1.2.1 — hint about the identifier (email, username) the End-User will sign in with. Pre-fills the hosted login screen and is forwarded to upstream identity providers. */
|
|
6536
|
+
login_hint?: string;
|
|
6537
|
+
/** @description OIDC §3.1.2.1 — an id_token this provider issued earlier for the user the client believes is signed in. Verified (signature, not expiry). With `prompt=none`, a session for a different user answers `login_required`; otherwise it forces a fresh sign-in. */
|
|
6538
|
+
id_token_hint?: string;
|
|
6539
|
+
/** @description OIDC §3.1.2.1 — space-separated Authentication Context Class References, in order of preference. `urn:faable:loa:2` asks for a second factor: a session that only has one is challenged (or, with `prompt=none`, answers `interaction_required`). */
|
|
6540
|
+
acr_values?: string;
|
|
6541
|
+
/** @description OIDC §3.1.2.1 — preferred languages for the hosted screens, space-separated BCP47 tags. Forwarded to upstream identity providers. */
|
|
6542
|
+
ui_locales?: string;
|
|
6515
6543
|
/** @description Auth0-compatible alias for `resource` (RFC 8707). When both are sent they must match. Identifier of the Api the client wants to access; persisted in the auth state so the token issued at /oauth/token targets the matching Api resource. */
|
|
6516
6544
|
audience?: string;
|
|
6517
6545
|
/** @description RFC 8707 Resource Indicator. MUST be an absolute URI without fragment. When matched against a registered Api in the tenant the issued access_token gets `aud = <api.identifier>`. */
|
|
@@ -26203,6 +26231,14 @@ export interface operations {
|
|
|
26203
26231
|
/** @description OIDC §3.1.2.1 — maximum allowable elapsed time in seconds since the last End-User authentication. If exceeded, the OP re-authenticates and `auth_time` is REQUIRED in the resulting id_token. */
|
|
26204
26232
|
max_age?: number;
|
|
26205
26233
|
prompt?: string;
|
|
26234
|
+
/** @description OIDC §3.1.2.1 — hint about the identifier (email, username) the End-User will sign in with. Pre-fills the hosted login screen and is forwarded to upstream identity providers. */
|
|
26235
|
+
login_hint?: string;
|
|
26236
|
+
/** @description OIDC §3.1.2.1 — an id_token this provider issued earlier for the user the client believes is signed in. Verified (signature, not expiry). With `prompt=none`, a session for a different user answers `login_required`; otherwise it forces a fresh sign-in. */
|
|
26237
|
+
id_token_hint?: string;
|
|
26238
|
+
/** @description OIDC §3.1.2.1 — space-separated Authentication Context Class References, in order of preference. `urn:faable:loa:2` asks for a second factor: a session that only has one is challenged (or, with `prompt=none`, answers `interaction_required`). */
|
|
26239
|
+
acr_values?: string;
|
|
26240
|
+
/** @description OIDC §3.1.2.1 — preferred languages for the hosted screens, space-separated BCP47 tags. Forwarded to upstream identity providers. */
|
|
26241
|
+
ui_locales?: string;
|
|
26206
26242
|
/** @description Auth0-compatible alias for `resource` (RFC 8707). When both are sent they must match. Identifier of the Api the client wants to access; persisted in the auth state so the token issued at /oauth/token targets the matching Api resource. */
|
|
26207
26243
|
audience?: string;
|
|
26208
26244
|
/** @description RFC 8707 Resource Indicator. MUST be an absolute URI without fragment. When matched against a registered Api in the tenant the issued access_token gets `aud = <api.identifier>`. */
|
|
@@ -26309,6 +26345,105 @@ export interface operations {
|
|
|
26309
26345
|
};
|
|
26310
26346
|
};
|
|
26311
26347
|
};
|
|
26348
|
+
"oauth/selectAccount": {
|
|
26349
|
+
parameters: {
|
|
26350
|
+
query?: never;
|
|
26351
|
+
header?: never;
|
|
26352
|
+
path?: never;
|
|
26353
|
+
cookie?: never;
|
|
26354
|
+
};
|
|
26355
|
+
requestBody: {
|
|
26356
|
+
content: {
|
|
26357
|
+
"application/json": {
|
|
26358
|
+
/** @description The `state` the select-account screen was opened with. */
|
|
26359
|
+
state: string;
|
|
26360
|
+
/** @description `continue`: go on as the signed-in user. `other`: sign this browser out and start a fresh login for the same request. */
|
|
26361
|
+
choice: "continue" | "other";
|
|
26362
|
+
};
|
|
26363
|
+
};
|
|
26364
|
+
};
|
|
26365
|
+
responses: {
|
|
26366
|
+
/** @description Default Response */
|
|
26367
|
+
200: {
|
|
26368
|
+
headers: {
|
|
26369
|
+
[name: string]: unknown;
|
|
26370
|
+
};
|
|
26371
|
+
content: {
|
|
26372
|
+
"application/json": {
|
|
26373
|
+
redirect_url: string;
|
|
26374
|
+
};
|
|
26375
|
+
};
|
|
26376
|
+
};
|
|
26377
|
+
/**
|
|
26378
|
+
* @description `invalid_state` — The `state` is missing, expired, or does not describe a resumable step.
|
|
26379
|
+
*
|
|
26380
|
+
* `validation_error` — The body, query or path failed schema validation. `details.issues` lists each failing field.
|
|
26381
|
+
*/
|
|
26382
|
+
400: {
|
|
26383
|
+
headers: {
|
|
26384
|
+
[name: string]: unknown;
|
|
26385
|
+
};
|
|
26386
|
+
content: {
|
|
26387
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
26388
|
+
/** @enum {string} */
|
|
26389
|
+
error_code?: "invalid_state" | "validation_error";
|
|
26390
|
+
};
|
|
26391
|
+
};
|
|
26392
|
+
};
|
|
26393
|
+
/**
|
|
26394
|
+
* @description `not_logged_in` — There is no signed-in session for this request.
|
|
26395
|
+
*
|
|
26396
|
+
* `state_mismatch` — The `state` belongs to another account, session, client or ceremony.
|
|
26397
|
+
*/
|
|
26398
|
+
401: {
|
|
26399
|
+
headers: {
|
|
26400
|
+
[name: string]: unknown;
|
|
26401
|
+
};
|
|
26402
|
+
content: {
|
|
26403
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
26404
|
+
/** @enum {string} */
|
|
26405
|
+
error_code?: "not_logged_in" | "state_mismatch";
|
|
26406
|
+
};
|
|
26407
|
+
};
|
|
26408
|
+
};
|
|
26409
|
+
/** @description `account_not_found` — No Auth Account matches the request (domain, header or token). */
|
|
26410
|
+
404: {
|
|
26411
|
+
headers: {
|
|
26412
|
+
[name: string]: unknown;
|
|
26413
|
+
};
|
|
26414
|
+
content: {
|
|
26415
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
26416
|
+
/** @enum {string} */
|
|
26417
|
+
error_code?: "account_not_found";
|
|
26418
|
+
};
|
|
26419
|
+
};
|
|
26420
|
+
};
|
|
26421
|
+
/** @description `too_many_requests` — Rate limit exceeded. Honour the `Retry-After` header. */
|
|
26422
|
+
429: {
|
|
26423
|
+
headers: {
|
|
26424
|
+
[name: string]: unknown;
|
|
26425
|
+
};
|
|
26426
|
+
content: {
|
|
26427
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
26428
|
+
/** @enum {string} */
|
|
26429
|
+
error_code?: "too_many_requests";
|
|
26430
|
+
};
|
|
26431
|
+
};
|
|
26432
|
+
};
|
|
26433
|
+
/** @description `internal_error` — Unexpected server error. Retry later; the request id is logged. */
|
|
26434
|
+
500: {
|
|
26435
|
+
headers: {
|
|
26436
|
+
[name: string]: unknown;
|
|
26437
|
+
};
|
|
26438
|
+
content: {
|
|
26439
|
+
"application/json": components["schemas"]["ErrorResponse"] & {
|
|
26440
|
+
/** @enum {string} */
|
|
26441
|
+
error_code?: "internal_error";
|
|
26442
|
+
};
|
|
26443
|
+
};
|
|
26444
|
+
};
|
|
26445
|
+
};
|
|
26446
|
+
};
|
|
26312
26447
|
"oauth/link_ticket": {
|
|
26313
26448
|
parameters: {
|
|
26314
26449
|
query?: never;
|
|
@@ -27659,6 +27794,14 @@ export interface operations {
|
|
|
27659
27794
|
/** @description OIDC §3.1.2.1 — maximum allowable elapsed time in seconds since the last End-User authentication. If exceeded, the OP re-authenticates and `auth_time` is REQUIRED in the resulting id_token. */
|
|
27660
27795
|
max_age?: number;
|
|
27661
27796
|
prompt?: string;
|
|
27797
|
+
/** @description OIDC §3.1.2.1 — hint about the identifier (email, username) the End-User will sign in with. Pre-fills the hosted login screen and is forwarded to upstream identity providers. */
|
|
27798
|
+
login_hint?: string;
|
|
27799
|
+
/** @description OIDC §3.1.2.1 — an id_token this provider issued earlier for the user the client believes is signed in. Verified (signature, not expiry). With `prompt=none`, a session for a different user answers `login_required`; otherwise it forces a fresh sign-in. */
|
|
27800
|
+
id_token_hint?: string;
|
|
27801
|
+
/** @description OIDC §3.1.2.1 — space-separated Authentication Context Class References, in order of preference. `urn:faable:loa:2` asks for a second factor: a session that only has one is challenged (or, with `prompt=none`, answers `interaction_required`). */
|
|
27802
|
+
acr_values?: string;
|
|
27803
|
+
/** @description OIDC §3.1.2.1 — preferred languages for the hosted screens, space-separated BCP47 tags. Forwarded to upstream identity providers. */
|
|
27804
|
+
ui_locales?: string;
|
|
27662
27805
|
/** @description Auth0-compatible alias for `resource` (RFC 8707). When both are sent they must match. Identifier of the Api the client wants to access; persisted in the auth state so the token issued at /oauth/token targets the matching Api resource. */
|
|
27663
27806
|
audience?: string;
|
|
27664
27807
|
/** @description RFC 8707 Resource Indicator. MUST be an absolute URI without fragment. When matched against a registered Api in the tenant the issued access_token gets `aud = <api.identifier>`. */
|
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.44";
|
|
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 = "bbde982";
|
|
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.44.0",
|
|
7
7
|
"license": {
|
|
8
8
|
"name": "private",
|
|
9
9
|
"url": "https://faable.com/docs/platform/privacy-policy"
|
|
@@ -7355,6 +7355,22 @@
|
|
|
7355
7355
|
"prompt": {
|
|
7356
7356
|
"type": "string"
|
|
7357
7357
|
},
|
|
7358
|
+
"login_hint": {
|
|
7359
|
+
"type": "string",
|
|
7360
|
+
"description": "OIDC §3.1.2.1 — hint about the identifier (email, username) the End-User will sign in with. Pre-fills the hosted login screen and is forwarded to upstream identity providers."
|
|
7361
|
+
},
|
|
7362
|
+
"id_token_hint": {
|
|
7363
|
+
"type": "string",
|
|
7364
|
+
"description": "OIDC §3.1.2.1 — an id_token this provider issued earlier for the user the client believes is signed in. Verified (signature, not expiry). With `prompt=none`, a session for a different user answers `login_required`; otherwise it forces a fresh sign-in."
|
|
7365
|
+
},
|
|
7366
|
+
"acr_values": {
|
|
7367
|
+
"type": "string",
|
|
7368
|
+
"description": "OIDC §3.1.2.1 — space-separated Authentication Context Class References, in order of preference. `urn:faable:loa:2` asks for a second factor: a session that only has one is challenged (or, with `prompt=none`, answers `interaction_required`)."
|
|
7369
|
+
},
|
|
7370
|
+
"ui_locales": {
|
|
7371
|
+
"type": "string",
|
|
7372
|
+
"description": "OIDC §3.1.2.1 — preferred languages for the hosted screens, space-separated BCP47 tags. Forwarded to upstream identity providers."
|
|
7373
|
+
},
|
|
7358
7374
|
"audience": {
|
|
7359
7375
|
"type": "string",
|
|
7360
7376
|
"description": "Auth0-compatible alias for `resource` (RFC 8707). When both are sent they must match. Identifier of the Api the client wants to access; persisted in the auth state so the token issued at /oauth/token targets the matching Api resource."
|
|
@@ -57773,6 +57789,42 @@
|
|
|
57773
57789
|
"name": "prompt",
|
|
57774
57790
|
"required": false
|
|
57775
57791
|
},
|
|
57792
|
+
{
|
|
57793
|
+
"schema": {
|
|
57794
|
+
"type": "string"
|
|
57795
|
+
},
|
|
57796
|
+
"in": "query",
|
|
57797
|
+
"name": "login_hint",
|
|
57798
|
+
"required": false,
|
|
57799
|
+
"description": "OIDC §3.1.2.1 — hint about the identifier (email, username) the End-User will sign in with. Pre-fills the hosted login screen and is forwarded to upstream identity providers."
|
|
57800
|
+
},
|
|
57801
|
+
{
|
|
57802
|
+
"schema": {
|
|
57803
|
+
"type": "string"
|
|
57804
|
+
},
|
|
57805
|
+
"in": "query",
|
|
57806
|
+
"name": "id_token_hint",
|
|
57807
|
+
"required": false,
|
|
57808
|
+
"description": "OIDC §3.1.2.1 — an id_token this provider issued earlier for the user the client believes is signed in. Verified (signature, not expiry). With `prompt=none`, a session for a different user answers `login_required`; otherwise it forces a fresh sign-in."
|
|
57809
|
+
},
|
|
57810
|
+
{
|
|
57811
|
+
"schema": {
|
|
57812
|
+
"type": "string"
|
|
57813
|
+
},
|
|
57814
|
+
"in": "query",
|
|
57815
|
+
"name": "acr_values",
|
|
57816
|
+
"required": false,
|
|
57817
|
+
"description": "OIDC §3.1.2.1 — space-separated Authentication Context Class References, in order of preference. `urn:faable:loa:2` asks for a second factor: a session that only has one is challenged (or, with `prompt=none`, answers `interaction_required`)."
|
|
57818
|
+
},
|
|
57819
|
+
{
|
|
57820
|
+
"schema": {
|
|
57821
|
+
"type": "string"
|
|
57822
|
+
},
|
|
57823
|
+
"in": "query",
|
|
57824
|
+
"name": "ui_locales",
|
|
57825
|
+
"required": false,
|
|
57826
|
+
"description": "OIDC §3.1.2.1 — preferred languages for the hosted screens, space-separated BCP47 tags. Forwarded to upstream identity providers."
|
|
57827
|
+
},
|
|
57776
57828
|
{
|
|
57777
57829
|
"schema": {
|
|
57778
57830
|
"type": "string"
|
|
@@ -57954,6 +58006,201 @@
|
|
|
57954
58006
|
}
|
|
57955
58007
|
}
|
|
57956
58008
|
},
|
|
58009
|
+
"/select-account": {
|
|
58010
|
+
"post": {
|
|
58011
|
+
"operationId": "oauth/selectAccount",
|
|
58012
|
+
"summary": "Answer the account chooser of a prompt=select_account login",
|
|
58013
|
+
"tags": [
|
|
58014
|
+
"oauth"
|
|
58015
|
+
],
|
|
58016
|
+
"description": "Resumes an authorization request that `/authorize` parked on the hosted account chooser. Requires the session cookie of the user the chooser was shown to. Returns where the browser goes next: the client callback with a code, or a login screen.",
|
|
58017
|
+
"requestBody": {
|
|
58018
|
+
"required": true,
|
|
58019
|
+
"content": {
|
|
58020
|
+
"application/json": {
|
|
58021
|
+
"schema": {
|
|
58022
|
+
"type": "object",
|
|
58023
|
+
"required": [
|
|
58024
|
+
"state",
|
|
58025
|
+
"choice"
|
|
58026
|
+
],
|
|
58027
|
+
"properties": {
|
|
58028
|
+
"state": {
|
|
58029
|
+
"type": "string",
|
|
58030
|
+
"description": "The `state` the select-account screen was opened with."
|
|
58031
|
+
},
|
|
58032
|
+
"choice": {
|
|
58033
|
+
"anyOf": [
|
|
58034
|
+
{
|
|
58035
|
+
"type": "string",
|
|
58036
|
+
"enum": [
|
|
58037
|
+
"continue"
|
|
58038
|
+
]
|
|
58039
|
+
},
|
|
58040
|
+
{
|
|
58041
|
+
"type": "string",
|
|
58042
|
+
"enum": [
|
|
58043
|
+
"other"
|
|
58044
|
+
]
|
|
58045
|
+
}
|
|
58046
|
+
],
|
|
58047
|
+
"description": "`continue`: go on as the signed-in user. `other`: sign this browser out and start a fresh login for the same request."
|
|
58048
|
+
}
|
|
58049
|
+
},
|
|
58050
|
+
"additionalProperties": false
|
|
58051
|
+
}
|
|
58052
|
+
}
|
|
58053
|
+
}
|
|
58054
|
+
},
|
|
58055
|
+
"responses": {
|
|
58056
|
+
"200": {
|
|
58057
|
+
"description": "Default Response",
|
|
58058
|
+
"content": {
|
|
58059
|
+
"application/json": {
|
|
58060
|
+
"schema": {
|
|
58061
|
+
"type": "object",
|
|
58062
|
+
"required": [
|
|
58063
|
+
"redirect_url"
|
|
58064
|
+
],
|
|
58065
|
+
"properties": {
|
|
58066
|
+
"redirect_url": {
|
|
58067
|
+
"type": "string"
|
|
58068
|
+
}
|
|
58069
|
+
}
|
|
58070
|
+
}
|
|
58071
|
+
}
|
|
58072
|
+
}
|
|
58073
|
+
},
|
|
58074
|
+
"400": {
|
|
58075
|
+
"description": "`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.",
|
|
58076
|
+
"content": {
|
|
58077
|
+
"application/json": {
|
|
58078
|
+
"schema": {
|
|
58079
|
+
"allOf": [
|
|
58080
|
+
{
|
|
58081
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
58082
|
+
},
|
|
58083
|
+
{
|
|
58084
|
+
"type": "object",
|
|
58085
|
+
"properties": {
|
|
58086
|
+
"error_code": {
|
|
58087
|
+
"type": "string",
|
|
58088
|
+
"enum": [
|
|
58089
|
+
"invalid_state",
|
|
58090
|
+
"validation_error"
|
|
58091
|
+
]
|
|
58092
|
+
}
|
|
58093
|
+
}
|
|
58094
|
+
}
|
|
58095
|
+
]
|
|
58096
|
+
}
|
|
58097
|
+
}
|
|
58098
|
+
}
|
|
58099
|
+
},
|
|
58100
|
+
"401": {
|
|
58101
|
+
"description": "`not_logged_in` — There is no signed-in session for this request.\n\n`state_mismatch` — The `state` belongs to another account, session, client or ceremony.",
|
|
58102
|
+
"content": {
|
|
58103
|
+
"application/json": {
|
|
58104
|
+
"schema": {
|
|
58105
|
+
"allOf": [
|
|
58106
|
+
{
|
|
58107
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
58108
|
+
},
|
|
58109
|
+
{
|
|
58110
|
+
"type": "object",
|
|
58111
|
+
"properties": {
|
|
58112
|
+
"error_code": {
|
|
58113
|
+
"type": "string",
|
|
58114
|
+
"enum": [
|
|
58115
|
+
"not_logged_in",
|
|
58116
|
+
"state_mismatch"
|
|
58117
|
+
]
|
|
58118
|
+
}
|
|
58119
|
+
}
|
|
58120
|
+
}
|
|
58121
|
+
]
|
|
58122
|
+
}
|
|
58123
|
+
}
|
|
58124
|
+
}
|
|
58125
|
+
},
|
|
58126
|
+
"404": {
|
|
58127
|
+
"description": "`account_not_found` — No Auth Account matches the request (domain, header or token).",
|
|
58128
|
+
"content": {
|
|
58129
|
+
"application/json": {
|
|
58130
|
+
"schema": {
|
|
58131
|
+
"allOf": [
|
|
58132
|
+
{
|
|
58133
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
58134
|
+
},
|
|
58135
|
+
{
|
|
58136
|
+
"type": "object",
|
|
58137
|
+
"properties": {
|
|
58138
|
+
"error_code": {
|
|
58139
|
+
"type": "string",
|
|
58140
|
+
"enum": [
|
|
58141
|
+
"account_not_found"
|
|
58142
|
+
]
|
|
58143
|
+
}
|
|
58144
|
+
}
|
|
58145
|
+
}
|
|
58146
|
+
]
|
|
58147
|
+
}
|
|
58148
|
+
}
|
|
58149
|
+
}
|
|
58150
|
+
},
|
|
58151
|
+
"429": {
|
|
58152
|
+
"description": "`too_many_requests` — Rate limit exceeded. Honour the `Retry-After` header.",
|
|
58153
|
+
"content": {
|
|
58154
|
+
"application/json": {
|
|
58155
|
+
"schema": {
|
|
58156
|
+
"allOf": [
|
|
58157
|
+
{
|
|
58158
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
58159
|
+
},
|
|
58160
|
+
{
|
|
58161
|
+
"type": "object",
|
|
58162
|
+
"properties": {
|
|
58163
|
+
"error_code": {
|
|
58164
|
+
"type": "string",
|
|
58165
|
+
"enum": [
|
|
58166
|
+
"too_many_requests"
|
|
58167
|
+
]
|
|
58168
|
+
}
|
|
58169
|
+
}
|
|
58170
|
+
}
|
|
58171
|
+
]
|
|
58172
|
+
}
|
|
58173
|
+
}
|
|
58174
|
+
}
|
|
58175
|
+
},
|
|
58176
|
+
"500": {
|
|
58177
|
+
"description": "`internal_error` — Unexpected server error. Retry later; the request id is logged.",
|
|
58178
|
+
"content": {
|
|
58179
|
+
"application/json": {
|
|
58180
|
+
"schema": {
|
|
58181
|
+
"allOf": [
|
|
58182
|
+
{
|
|
58183
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
58184
|
+
},
|
|
58185
|
+
{
|
|
58186
|
+
"type": "object",
|
|
58187
|
+
"properties": {
|
|
58188
|
+
"error_code": {
|
|
58189
|
+
"type": "string",
|
|
58190
|
+
"enum": [
|
|
58191
|
+
"internal_error"
|
|
58192
|
+
]
|
|
58193
|
+
}
|
|
58194
|
+
}
|
|
58195
|
+
}
|
|
58196
|
+
]
|
|
58197
|
+
}
|
|
58198
|
+
}
|
|
58199
|
+
}
|
|
58200
|
+
}
|
|
58201
|
+
}
|
|
58202
|
+
}
|
|
58203
|
+
},
|
|
57957
58204
|
"/oauth/link_ticket": {
|
|
57958
58205
|
"post": {
|
|
57959
58206
|
"operationId": "oauth/link_ticket",
|
|
@@ -60950,6 +61197,22 @@
|
|
|
60950
61197
|
"prompt": {
|
|
60951
61198
|
"type": "string"
|
|
60952
61199
|
},
|
|
61200
|
+
"login_hint": {
|
|
61201
|
+
"type": "string",
|
|
61202
|
+
"description": "OIDC §3.1.2.1 — hint about the identifier (email, username) the End-User will sign in with. Pre-fills the hosted login screen and is forwarded to upstream identity providers."
|
|
61203
|
+
},
|
|
61204
|
+
"id_token_hint": {
|
|
61205
|
+
"type": "string",
|
|
61206
|
+
"description": "OIDC §3.1.2.1 — an id_token this provider issued earlier for the user the client believes is signed in. Verified (signature, not expiry). With `prompt=none`, a session for a different user answers `login_required`; otherwise it forces a fresh sign-in."
|
|
61207
|
+
},
|
|
61208
|
+
"acr_values": {
|
|
61209
|
+
"type": "string",
|
|
61210
|
+
"description": "OIDC §3.1.2.1 — space-separated Authentication Context Class References, in order of preference. `urn:faable:loa:2` asks for a second factor: a session that only has one is challenged (or, with `prompt=none`, answers `interaction_required`)."
|
|
61211
|
+
},
|
|
61212
|
+
"ui_locales": {
|
|
61213
|
+
"type": "string",
|
|
61214
|
+
"description": "OIDC §3.1.2.1 — preferred languages for the hosted screens, space-separated BCP47 tags. Forwarded to upstream identity providers."
|
|
61215
|
+
},
|
|
60953
61216
|
"audience": {
|
|
60954
61217
|
"type": "string",
|
|
60955
61218
|
"description": "Auth0-compatible alias for `resource` (RFC 8707). When both are sent they must match. Identifier of the Api the client wants to access; persisted in the auth state so the token issued at /oauth/token targets the matching Api resource."
|