@zuplo/runtime 6.71.27 → 6.72.0
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/out/esm/{chunk-D3O7C43P.js → chunk-FAOWNDMK.js} +55 -55
- package/out/esm/{chunk-D3O7C43P.js.map → chunk-FAOWNDMK.js.map} +1 -1
- package/out/esm/index.js +1 -1
- package/out/esm/mcp-gateway/index.js +9 -9
- package/out/esm/mcp-gateway/index.js.map +1 -1
- package/out/types/mcp-gateway/index.d.ts +30 -0
- package/package.json +1 -1
- /package/out/esm/{chunk-D3O7C43P.js.LEGAL.txt → chunk-FAOWNDMK.js.LEGAL.txt} +0 -0
|
@@ -2479,6 +2479,10 @@ export declare interface McpTokenExchangeInboundPolicyOptions {
|
|
|
2479
2479
|
* Delimiter used to join scopes in the OAuth authorization request. Defaults to a single space.
|
|
2480
2480
|
*/
|
|
2481
2481
|
scopeDelimiter?: string;
|
|
2482
|
+
/**
|
|
2483
|
+
* Overrides the OIDC `prompt` parameter on upstream authorization requests. The MCP SDK adds `prompt=consent` whenever the requested scope includes `offline_access`, which forces a consent screen on every authorization on providers like Microsoft Entra ID even after a tenant admin has granted org-wide admin consent. Leave unset to keep the SDK's behavior; set to `false` to strip the `prompt` parameter; set an explicit value to replace it. Warning: stripping `prompt=consent` while requesting `offline_access` can silently prevent refresh-token issuance on providers that require a fresh consent grant for offline access (e.g. Google) — only use this when the provider grants offline access via pre-authorized/admin consent (e.g. Entra tenant admin consent).
|
|
2484
|
+
*/
|
|
2485
|
+
prompt?: ("none" | "login" | "consent" | "select_account") | false;
|
|
2482
2486
|
/**
|
|
2483
2487
|
* OAuth client registration mode. Defaults to `auto`, which uses Client ID Metadata Documents when the upstream advertises support and falls back to Dynamic Client Registration otherwise.
|
|
2484
2488
|
*/
|
|
@@ -3671,6 +3675,19 @@ declare const upstreamTokenExchangePolicyOptionsSchema: z.ZodObject<
|
|
|
3671
3675
|
{
|
|
3672
3676
|
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3673
3677
|
scopeDelimiter: z.ZodDefault<z.ZodString>;
|
|
3678
|
+
prompt: z.ZodOptional<
|
|
3679
|
+
z.ZodUnion<
|
|
3680
|
+
[
|
|
3681
|
+
z.ZodEnum<{
|
|
3682
|
+
none: "none";
|
|
3683
|
+
login: "login";
|
|
3684
|
+
consent: "consent";
|
|
3685
|
+
select_account: "select_account";
|
|
3686
|
+
}>,
|
|
3687
|
+
z.ZodLiteral<false>,
|
|
3688
|
+
]
|
|
3689
|
+
>
|
|
3690
|
+
>;
|
|
3674
3691
|
clientRegistration: z.ZodDefault<
|
|
3675
3692
|
z.ZodDiscriminatedUnion<
|
|
3676
3693
|
[
|
|
@@ -3712,6 +3729,19 @@ declare const upstreamTokenExchangePolicyOptionsSchema: z.ZodObject<
|
|
|
3712
3729
|
{
|
|
3713
3730
|
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3714
3731
|
scopeDelimiter: z.ZodDefault<z.ZodString>;
|
|
3732
|
+
prompt: z.ZodOptional<
|
|
3733
|
+
z.ZodUnion<
|
|
3734
|
+
[
|
|
3735
|
+
z.ZodEnum<{
|
|
3736
|
+
none: "none";
|
|
3737
|
+
login: "login";
|
|
3738
|
+
consent: "consent";
|
|
3739
|
+
select_account: "select_account";
|
|
3740
|
+
}>,
|
|
3741
|
+
z.ZodLiteral<false>,
|
|
3742
|
+
]
|
|
3743
|
+
>
|
|
3744
|
+
>;
|
|
3715
3745
|
clientRegistration: z.ZodDefault<
|
|
3716
3746
|
z.ZodDiscriminatedUnion<
|
|
3717
3747
|
[
|
package/package.json
CHANGED
|
File without changes
|