@faable/auth-sdk 2.9.47 → 2.9.48
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/FaableAuthApi.d.ts +4 -0
- package/dist/api/generated-client.d.ts +8 -0
- package/dist/api/types.d.ts +20 -0
- package/dist/version.js +2 -2
- package/package.json +1 -1
- package/spec/openapi.json +41 -1
package/dist/FaableAuthApi.d.ts
CHANGED
|
@@ -1131,6 +1131,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
|
|
|
1131
1131
|
} | undefined;
|
|
1132
1132
|
login_flow?: string | null | undefined;
|
|
1133
1133
|
default_audience?: string | null | undefined;
|
|
1134
|
+
include_roles_in_id_token?: boolean | undefined;
|
|
1134
1135
|
management_scopes?: string[] | undefined;
|
|
1135
1136
|
saml_sp?: {
|
|
1136
1137
|
enabled: boolean;
|
|
@@ -1241,6 +1242,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
|
|
|
1241
1242
|
} | undefined;
|
|
1242
1243
|
login_flow?: string | null | undefined;
|
|
1243
1244
|
default_audience?: string | null | undefined;
|
|
1245
|
+
include_roles_in_id_token?: boolean | undefined;
|
|
1244
1246
|
management_scopes?: string[] | undefined;
|
|
1245
1247
|
saml_sp?: {
|
|
1246
1248
|
enabled: boolean;
|
|
@@ -1354,6 +1356,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
|
|
|
1354
1356
|
} | undefined;
|
|
1355
1357
|
login_flow?: string | null | undefined;
|
|
1356
1358
|
default_audience?: string | null | undefined;
|
|
1359
|
+
include_roles_in_id_token?: boolean | undefined;
|
|
1357
1360
|
management_scopes?: string[] | undefined;
|
|
1358
1361
|
saml_sp?: {
|
|
1359
1362
|
enabled: boolean;
|
|
@@ -1466,6 +1469,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
|
|
|
1466
1469
|
} | undefined;
|
|
1467
1470
|
login_flow?: string | null | undefined;
|
|
1468
1471
|
default_audience?: string | null | undefined;
|
|
1472
|
+
include_roles_in_id_token?: boolean | undefined;
|
|
1469
1473
|
management_scopes?: string[] | undefined;
|
|
1470
1474
|
saml_sp?: {
|
|
1471
1475
|
enabled: boolean;
|
|
@@ -1921,6 +1921,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
1921
1921
|
} | undefined;
|
|
1922
1922
|
login_flow?: string | null | undefined;
|
|
1923
1923
|
default_audience?: string | null | undefined;
|
|
1924
|
+
include_roles_in_id_token?: boolean | undefined;
|
|
1924
1925
|
management_scopes?: string[] | undefined;
|
|
1925
1926
|
saml_sp?: {
|
|
1926
1927
|
enabled: boolean;
|
|
@@ -2047,6 +2048,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
2047
2048
|
} | undefined;
|
|
2048
2049
|
login_flow?: string | null | undefined;
|
|
2049
2050
|
default_audience?: string | null | undefined;
|
|
2051
|
+
include_roles_in_id_token?: boolean | undefined;
|
|
2050
2052
|
management_scopes?: string[] | undefined;
|
|
2051
2053
|
saml_sp?: {
|
|
2052
2054
|
enabled: boolean;
|
|
@@ -2174,6 +2176,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
2174
2176
|
} | undefined;
|
|
2175
2177
|
login_flow?: string | null | undefined;
|
|
2176
2178
|
default_audience?: string | null | undefined;
|
|
2179
|
+
include_roles_in_id_token?: boolean | undefined;
|
|
2177
2180
|
management_scopes?: string[] | undefined;
|
|
2178
2181
|
saml_sp?: {
|
|
2179
2182
|
enabled: boolean;
|
|
@@ -2302,6 +2305,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
2302
2305
|
} | undefined;
|
|
2303
2306
|
login_flow?: string | null | undefined;
|
|
2304
2307
|
default_audience?: string | null | undefined;
|
|
2308
|
+
include_roles_in_id_token?: boolean | undefined;
|
|
2305
2309
|
management_scopes?: string[] | undefined;
|
|
2306
2310
|
saml_sp?: {
|
|
2307
2311
|
enabled: boolean;
|
|
@@ -2412,6 +2416,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
2412
2416
|
} | undefined;
|
|
2413
2417
|
login_flow?: string | null | undefined;
|
|
2414
2418
|
default_audience?: string | null | undefined;
|
|
2419
|
+
include_roles_in_id_token?: boolean | undefined;
|
|
2415
2420
|
management_scopes?: string[] | undefined;
|
|
2416
2421
|
saml_sp?: {
|
|
2417
2422
|
enabled: boolean;
|
|
@@ -2525,6 +2530,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
2525
2530
|
} | undefined;
|
|
2526
2531
|
login_flow?: string | null | undefined;
|
|
2527
2532
|
default_audience?: string | null | undefined;
|
|
2533
|
+
include_roles_in_id_token?: boolean | undefined;
|
|
2528
2534
|
management_scopes?: string[] | undefined;
|
|
2529
2535
|
saml_sp?: {
|
|
2530
2536
|
enabled: boolean;
|
|
@@ -2654,6 +2660,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
2654
2660
|
} | undefined;
|
|
2655
2661
|
login_flow?: string | null | undefined;
|
|
2656
2662
|
default_audience?: string | null | undefined;
|
|
2663
|
+
include_roles_in_id_token?: boolean | undefined;
|
|
2657
2664
|
management_scopes?: string[] | undefined;
|
|
2658
2665
|
saml_sp?: {
|
|
2659
2666
|
enabled: boolean;
|
|
@@ -2781,6 +2788,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
2781
2788
|
} | undefined;
|
|
2782
2789
|
login_flow?: string | null | undefined;
|
|
2783
2790
|
default_audience?: string | null | undefined;
|
|
2791
|
+
include_roles_in_id_token?: boolean | undefined;
|
|
2784
2792
|
management_scopes?: string[] | undefined;
|
|
2785
2793
|
saml_sp?: {
|
|
2786
2794
|
enabled: boolean;
|
package/dist/api/types.d.ts
CHANGED
|
@@ -6321,6 +6321,8 @@ export interface components {
|
|
|
6321
6321
|
login_flow?: string | null;
|
|
6322
6322
|
/** @description Audience used when a client_credentials token request sends none (e.g. `faable:management:<account_id>`). An explicit `audience` in the request wins. Absent = `${iss}/userinfo`. */
|
|
6323
6323
|
default_audience?: string | null;
|
|
6324
|
+
/** @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. */
|
|
6325
|
+
include_roles_in_id_token?: boolean;
|
|
6324
6326
|
/** @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. */
|
|
6325
6327
|
management_scopes?: string[];
|
|
6326
6328
|
saml_sp?: {
|
|
@@ -6374,6 +6376,8 @@ export interface components {
|
|
|
6374
6376
|
/** @description Bot protection for this client's signups and passwordless codes: `off` (Actions only), `on_risk` (a proof-of-work challenge when the request looks risky) or `always` (every signup solves it; clients that cannot are refused). New clients start at `on_risk`. */
|
|
6375
6377
|
signup_protection?: "off" | "on_risk" | "always";
|
|
6376
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
|
+
/** @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
|
+
include_roles_in_id_token?: boolean;
|
|
6377
6381
|
/** @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. */
|
|
6378
6382
|
management_scopes?: string[];
|
|
6379
6383
|
/** @description Add Metadata */
|
|
@@ -6511,6 +6515,8 @@ export interface components {
|
|
|
6511
6515
|
login_flow?: string | null;
|
|
6512
6516
|
/** @description Audience a client_credentials token request gets when it sends none. An explicit `audience` wins. `null` removes it. */
|
|
6513
6517
|
default_audience?: string | null;
|
|
6518
|
+
/** @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. */
|
|
6519
|
+
include_roles_in_id_token?: boolean;
|
|
6514
6520
|
/** @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. Replaces the whole list; `[]` removes all. Only scopes your own token holds can be added. */
|
|
6515
6521
|
management_scopes?: string[];
|
|
6516
6522
|
saml_sp?: {
|
|
@@ -14162,6 +14168,8 @@ export interface operations {
|
|
|
14162
14168
|
/** @description Bot protection for this client's signups and passwordless codes: `off` (Actions only), `on_risk` (a proof-of-work challenge when the request looks risky) or `always` (every signup solves it; clients that cannot are refused). New clients start at `on_risk`. */
|
|
14163
14169
|
signup_protection?: "off" | "on_risk" | "always";
|
|
14164
14170
|
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
|
+
/** @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
|
+
include_roles_in_id_token?: boolean;
|
|
14165
14173
|
/** @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. */
|
|
14166
14174
|
management_scopes?: string[];
|
|
14167
14175
|
/** @description Add Metadata */
|
|
@@ -14314,6 +14322,8 @@ export interface operations {
|
|
|
14314
14322
|
login_flow?: string | null;
|
|
14315
14323
|
/** @description Audience used when a client_credentials token request sends none (e.g. `faable:management:<account_id>`). An explicit `audience` in the request wins. Absent = `${iss}/userinfo`. */
|
|
14316
14324
|
default_audience?: string | null;
|
|
14325
|
+
/** @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. */
|
|
14326
|
+
include_roles_in_id_token?: boolean;
|
|
14317
14327
|
/** @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. */
|
|
14318
14328
|
management_scopes?: string[];
|
|
14319
14329
|
saml_sp?: {
|
|
@@ -14588,6 +14598,8 @@ export interface operations {
|
|
|
14588
14598
|
login_flow?: string | null;
|
|
14589
14599
|
/** @description Audience used when a client_credentials token request sends none (e.g. `faable:management:<account_id>`). An explicit `audience` in the request wins. Absent = `${iss}/userinfo`. */
|
|
14590
14600
|
default_audience?: string | null;
|
|
14601
|
+
/** @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. */
|
|
14602
|
+
include_roles_in_id_token?: boolean;
|
|
14591
14603
|
/** @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. */
|
|
14592
14604
|
management_scopes?: string[];
|
|
14593
14605
|
saml_sp?: {
|
|
@@ -14850,6 +14862,8 @@ export interface operations {
|
|
|
14850
14862
|
login_flow?: string | null;
|
|
14851
14863
|
/** @description Audience a client_credentials token request gets when it sends none. An explicit `audience` wins. `null` removes it. */
|
|
14852
14864
|
default_audience?: string | null;
|
|
14865
|
+
/** @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. */
|
|
14866
|
+
include_roles_in_id_token?: boolean;
|
|
14853
14867
|
/** @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. Replaces the whole list; `[]` removes all. Only scopes your own token holds can be added. */
|
|
14854
14868
|
management_scopes?: string[];
|
|
14855
14869
|
saml_sp?: {
|
|
@@ -15021,6 +15035,8 @@ export interface operations {
|
|
|
15021
15035
|
login_flow?: string | null;
|
|
15022
15036
|
/** @description Audience used when a client_credentials token request sends none (e.g. `faable:management:<account_id>`). An explicit `audience` in the request wins. Absent = `${iss}/userinfo`. */
|
|
15023
15037
|
default_audience?: string | null;
|
|
15038
|
+
/** @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. */
|
|
15039
|
+
include_roles_in_id_token?: boolean;
|
|
15024
15040
|
/** @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. */
|
|
15025
15041
|
management_scopes?: string[];
|
|
15026
15042
|
saml_sp?: {
|
|
@@ -15301,6 +15317,8 @@ export interface operations {
|
|
|
15301
15317
|
login_flow?: string | null;
|
|
15302
15318
|
/** @description Audience used when a client_credentials token request sends none (e.g. `faable:management:<account_id>`). An explicit `audience` in the request wins. Absent = `${iss}/userinfo`. */
|
|
15303
15319
|
default_audience?: string | null;
|
|
15320
|
+
/** @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. */
|
|
15321
|
+
include_roles_in_id_token?: boolean;
|
|
15304
15322
|
/** @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. */
|
|
15305
15323
|
management_scopes?: string[];
|
|
15306
15324
|
saml_sp?: {
|
|
@@ -15579,6 +15597,8 @@ export interface operations {
|
|
|
15579
15597
|
login_flow?: string | null;
|
|
15580
15598
|
/** @description Audience used when a client_credentials token request sends none (e.g. `faable:management:<account_id>`). An explicit `audience` in the request wins. Absent = `${iss}/userinfo`. */
|
|
15581
15599
|
default_audience?: string | null;
|
|
15600
|
+
/** @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. */
|
|
15601
|
+
include_roles_in_id_token?: boolean;
|
|
15582
15602
|
/** @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. */
|
|
15583
15603
|
management_scopes?: string[];
|
|
15584
15604
|
saml_sp?: {
|
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.48";
|
|
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 = "db7e4b2";
|
|
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.121.0",
|
|
7
7
|
"license": {
|
|
8
8
|
"name": "private",
|
|
9
9
|
"url": "https://faable.com/docs/platform/privacy-policy"
|
|
@@ -2313,6 +2313,10 @@
|
|
|
2313
2313
|
"description": "Audience used when a client_credentials token request sends none (e.g. `faable:management:<account_id>`). An explicit `audience` in the request wins. Absent = `${iss}/userinfo`.",
|
|
2314
2314
|
"nullable": true
|
|
2315
2315
|
},
|
|
2316
|
+
"include_roles_in_id_token": {
|
|
2317
|
+
"type": "boolean",
|
|
2318
|
+
"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."
|
|
2319
|
+
},
|
|
2316
2320
|
"management_scopes": {
|
|
2317
2321
|
"type": "array",
|
|
2318
2322
|
"items": {
|
|
@@ -2570,6 +2574,10 @@
|
|
|
2570
2574
|
},
|
|
2571
2575
|
"uniqueItems": true
|
|
2572
2576
|
},
|
|
2577
|
+
"include_roles_in_id_token": {
|
|
2578
|
+
"type": "boolean",
|
|
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
|
+
},
|
|
2573
2581
|
"management_scopes": {
|
|
2574
2582
|
"type": "array",
|
|
2575
2583
|
"items": {
|
|
@@ -3313,6 +3321,10 @@
|
|
|
3313
3321
|
"description": "Audience a client_credentials token request gets when it sends none. An explicit `audience` wins. `null` removes it.",
|
|
3314
3322
|
"nullable": true
|
|
3315
3323
|
},
|
|
3324
|
+
"include_roles_in_id_token": {
|
|
3325
|
+
"type": "boolean",
|
|
3326
|
+
"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."
|
|
3327
|
+
},
|
|
3316
3328
|
"management_scopes": {
|
|
3317
3329
|
"type": "array",
|
|
3318
3330
|
"items": {
|
|
@@ -24281,6 +24293,10 @@
|
|
|
24281
24293
|
},
|
|
24282
24294
|
"uniqueItems": true
|
|
24283
24295
|
},
|
|
24296
|
+
"include_roles_in_id_token": {
|
|
24297
|
+
"type": "boolean",
|
|
24298
|
+
"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
|
+
},
|
|
24284
24300
|
"management_scopes": {
|
|
24285
24301
|
"type": "array",
|
|
24286
24302
|
"items": {
|
|
@@ -24944,6 +24960,10 @@
|
|
|
24944
24960
|
"description": "Audience used when a client_credentials token request sends none (e.g. `faable:management:<account_id>`). An explicit `audience` in the request wins. Absent = `${iss}/userinfo`.",
|
|
24945
24961
|
"nullable": true
|
|
24946
24962
|
},
|
|
24963
|
+
"include_roles_in_id_token": {
|
|
24964
|
+
"type": "boolean",
|
|
24965
|
+
"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."
|
|
24966
|
+
},
|
|
24947
24967
|
"management_scopes": {
|
|
24948
24968
|
"type": "array",
|
|
24949
24969
|
"items": {
|
|
@@ -25893,6 +25913,10 @@
|
|
|
25893
25913
|
"description": "Audience used when a client_credentials token request sends none (e.g. `faable:management:<account_id>`). An explicit `audience` in the request wins. Absent = `${iss}/userinfo`.",
|
|
25894
25914
|
"nullable": true
|
|
25895
25915
|
},
|
|
25916
|
+
"include_roles_in_id_token": {
|
|
25917
|
+
"type": "boolean",
|
|
25918
|
+
"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."
|
|
25919
|
+
},
|
|
25896
25920
|
"management_scopes": {
|
|
25897
25921
|
"type": "array",
|
|
25898
25922
|
"items": {
|
|
@@ -26855,6 +26879,10 @@
|
|
|
26855
26879
|
"description": "Audience a client_credentials token request gets when it sends none. An explicit `audience` wins. `null` removes it.",
|
|
26856
26880
|
"nullable": true
|
|
26857
26881
|
},
|
|
26882
|
+
"include_roles_in_id_token": {
|
|
26883
|
+
"type": "boolean",
|
|
26884
|
+
"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."
|
|
26885
|
+
},
|
|
26858
26886
|
"management_scopes": {
|
|
26859
26887
|
"type": "array",
|
|
26860
26888
|
"items": {
|
|
@@ -27636,6 +27664,10 @@
|
|
|
27636
27664
|
"description": "Audience used when a client_credentials token request sends none (e.g. `faable:management:<account_id>`). An explicit `audience` in the request wins. Absent = `${iss}/userinfo`.",
|
|
27637
27665
|
"nullable": true
|
|
27638
27666
|
},
|
|
27667
|
+
"include_roles_in_id_token": {
|
|
27668
|
+
"type": "boolean",
|
|
27669
|
+
"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."
|
|
27670
|
+
},
|
|
27639
27671
|
"management_scopes": {
|
|
27640
27672
|
"type": "array",
|
|
27641
27673
|
"items": {
|
|
@@ -28585,6 +28617,10 @@
|
|
|
28585
28617
|
"description": "Audience used when a client_credentials token request sends none (e.g. `faable:management:<account_id>`). An explicit `audience` in the request wins. Absent = `${iss}/userinfo`.",
|
|
28586
28618
|
"nullable": true
|
|
28587
28619
|
},
|
|
28620
|
+
"include_roles_in_id_token": {
|
|
28621
|
+
"type": "boolean",
|
|
28622
|
+
"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."
|
|
28623
|
+
},
|
|
28588
28624
|
"management_scopes": {
|
|
28589
28625
|
"type": "array",
|
|
28590
28626
|
"items": {
|
|
@@ -29535,6 +29571,10 @@
|
|
|
29535
29571
|
"description": "Audience used when a client_credentials token request sends none (e.g. `faable:management:<account_id>`). An explicit `audience` in the request wins. Absent = `${iss}/userinfo`.",
|
|
29536
29572
|
"nullable": true
|
|
29537
29573
|
},
|
|
29574
|
+
"include_roles_in_id_token": {
|
|
29575
|
+
"type": "boolean",
|
|
29576
|
+
"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."
|
|
29577
|
+
},
|
|
29538
29578
|
"management_scopes": {
|
|
29539
29579
|
"type": "array",
|
|
29540
29580
|
"items": {
|