@faable/auth-sdk 2.9.50 → 2.9.52

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.
@@ -6378,6 +6378,10 @@ export interface components {
6378
6378
  grant_types?: ("authorization_code" | "client_credentials" | "refresh_token" | "password" | "http://auth0.com/oauth/grant-type/passwordless/otp" | "urn:ietf:params:oauth:grant-type:token-exchange" | "urn:ietf:params:oauth:grant-type:device_code" | "http://auth0.com/oauth/grant-type/mfa-otp" | "http://auth0.com/oauth/grant-type/mfa-recovery-code")[];
6379
6379
  /** @description The user's role names as a `roles` claim on this client's id_tokens, even when the login requests no `audience`. For OIDC apps that cannot send one and allow in only the users with a role. An Api's `include_roles_in_id_token` does the same for logins that request its audience. */
6380
6380
  include_roles_in_id_token?: boolean;
6381
+ /** @description OIDC Back-Channel Logout: the URL Faable Auth POSTs a `logout_token` to when a session this client took part in ends (sign-out, revocation, password change). */
6382
+ backchannel_logout_uri?: string;
6383
+ /** @description The client needs `sid` in the logout_token (and in its id_tokens) to know which session ended. */
6384
+ backchannel_logout_session_required?: boolean;
6381
6385
  /** @description Management API scopes (e.g. `read:rolemembers`) this client may obtain with client_credentials for the audience `faable:management:<account_id>`. A token request gets the requested scopes that are in this list, or the whole list when it asks for none. Empty = the client cannot obtain Management API tokens. Only scopes your own token holds can be granted. */
6382
6386
  management_scopes?: string[];
6383
6387
  /** @description Add Metadata */
@@ -14170,6 +14174,10 @@ export interface operations {
14170
14174
  grant_types?: ("authorization_code" | "client_credentials" | "refresh_token" | "password" | "http://auth0.com/oauth/grant-type/passwordless/otp" | "urn:ietf:params:oauth:grant-type:token-exchange" | "urn:ietf:params:oauth:grant-type:device_code" | "http://auth0.com/oauth/grant-type/mfa-otp" | "http://auth0.com/oauth/grant-type/mfa-recovery-code")[];
14171
14175
  /** @description The user's role names as a `roles` claim on this client's id_tokens, even when the login requests no `audience`. For OIDC apps that cannot send one and allow in only the users with a role. An Api's `include_roles_in_id_token` does the same for logins that request its audience. */
14172
14176
  include_roles_in_id_token?: boolean;
14177
+ /** @description OIDC Back-Channel Logout: the URL Faable Auth POSTs a `logout_token` to when a session this client took part in ends (sign-out, revocation, password change). */
14178
+ backchannel_logout_uri?: string;
14179
+ /** @description The client needs `sid` in the logout_token (and in its id_tokens) to know which session ended. */
14180
+ backchannel_logout_session_required?: boolean;
14173
14181
  /** @description Management API scopes (e.g. `read:rolemembers`) this client may obtain with client_credentials for the audience `faable:management:<account_id>`. A token request gets the requested scopes that are in this list, or the whole list when it asks for none. Empty = the client cannot obtain Management API tokens. Only scopes your own token holds can be granted. */
14174
14182
  management_scopes?: string[];
14175
14183
  /** @description Add Metadata */
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.50";
12
+ export const version = "2.9.52";
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 = "3954463";
18
+ export const commit = "41661d8";
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.9.50",
3
+ "version": "2.9.52",
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.122.0",
6
+ "version": "2.124.0",
7
7
  "license": {
8
8
  "name": "private",
9
9
  "url": "https://faable.com/docs/platform/privacy-policy"
@@ -2578,6 +2578,15 @@
2578
2578
  "type": "boolean",
2579
2579
  "description": "The user's role names as a `roles` claim on this client's id_tokens, even when the login requests no `audience`. For OIDC apps that cannot send one and allow in only the users with a role. An Api's `include_roles_in_id_token` does the same for logins that request its audience."
2580
2580
  },
2581
+ "backchannel_logout_uri": {
2582
+ "type": "string",
2583
+ "maxLength": 2048,
2584
+ "description": "OIDC Back-Channel Logout: the URL Faable Auth POSTs a `logout_token` to when a session this client took part in ends (sign-out, revocation, password change)."
2585
+ },
2586
+ "backchannel_logout_session_required": {
2587
+ "type": "boolean",
2588
+ "description": "The client needs `sid` in the logout_token (and in its id_tokens) to know which session ended."
2589
+ },
2581
2590
  "management_scopes": {
2582
2591
  "type": "array",
2583
2592
  "items": {
@@ -24297,6 +24306,15 @@
24297
24306
  "type": "boolean",
24298
24307
  "description": "The user's role names as a `roles` claim on this client's id_tokens, even when the login requests no `audience`. For OIDC apps that cannot send one and allow in only the users with a role. An Api's `include_roles_in_id_token` does the same for logins that request its audience."
24299
24308
  },
24309
+ "backchannel_logout_uri": {
24310
+ "type": "string",
24311
+ "maxLength": 2048,
24312
+ "description": "OIDC Back-Channel Logout: the URL Faable Auth POSTs a `logout_token` to when a session this client took part in ends (sign-out, revocation, password change)."
24313
+ },
24314
+ "backchannel_logout_session_required": {
24315
+ "type": "boolean",
24316
+ "description": "The client needs `sid` in the logout_token (and in its id_tokens) to know which session ended."
24317
+ },
24300
24318
  "management_scopes": {
24301
24319
  "type": "array",
24302
24320
  "items": {