@vitemcp/server 1.8.8 → 1.9.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/README.md CHANGED
@@ -1512,7 +1512,8 @@ Tools can log messages to the client using the `log` object in the context objec
1512
1512
  > setting `io.modelcontextprotocol/logLevel` in the request's `_meta`. The
1513
1513
  > revision forbids servers from sending `notifications/message` for a request
1514
1514
  > that did not opt in, so `log.*` is a no-op otherwise — that is expected
1515
- > behaviour, not a bug.
1515
+ > behaviour, not a bug. The level is a floor: a request that asks for
1516
+ > `warning` receives `log.warn` and `log.error`, not `log.info` or `log.debug`.
1516
1517
  >
1517
1518
  > Logging is also deprecated as of 2026-07-28. For diagnostics that always
1518
1519
  > reach you, write to `stderr` (stdio servers) or use OpenTelemetry; for
@@ -801,10 +801,21 @@ interface AuthProviderConfig {
801
801
  * SECURITY advisory before loosening this.
802
802
  */
803
803
  allowedRedirectUriPatterns?: string[];
804
+ /**
805
+ * Accept PKCE `plain` as well as `S256` (default: false), for the rare
806
+ * client that cannot hash. See `OAuthProxyConfig.allowPlainPkce` first.
807
+ */
808
+ allowPlainPkce?: boolean;
804
809
  /** Base URL where the MCP server is accessible */
805
810
  baseUrl: string;
806
811
  /** OAuth client ID */
807
812
  clientId: string;
813
+ /**
814
+ * Client ID Metadata Document support, on by default. Set `allowedDomains`
815
+ * to limit which hosts client metadata is fetched from, or `enabled: false`
816
+ * to turn it off.
817
+ */
818
+ clientIdMetadata?: ClientIdMetadataOptions;
808
819
  /** OAuth client secret */
809
820
  clientSecret: string;
810
821
  /** Require user consent screen (default: true) */
@@ -801,10 +801,21 @@ interface AuthProviderConfig {
801
801
  * SECURITY advisory before loosening this.
802
802
  */
803
803
  allowedRedirectUriPatterns?: string[];
804
+ /**
805
+ * Accept PKCE `plain` as well as `S256` (default: false), for the rare
806
+ * client that cannot hash. See `OAuthProxyConfig.allowPlainPkce` first.
807
+ */
808
+ allowPlainPkce?: boolean;
804
809
  /** Base URL where the MCP server is accessible */
805
810
  baseUrl: string;
806
811
  /** OAuth client ID */
807
812
  clientId: string;
813
+ /**
814
+ * Client ID Metadata Document support, on by default. Set `allowedDomains`
815
+ * to limit which hosts client metadata is fetched from, or `enabled: false`
816
+ * to turn it off.
817
+ */
818
+ clientIdMetadata?: ClientIdMetadataOptions;
808
819
  /** OAuth client secret */
809
820
  clientSecret: string;
810
821
  /** Require user consent screen (default: true) */
package/dist/ViteMCP.cjs CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
 
12
12
 
13
- var _chunk7UCE3YTYcjs = require('./chunk-7UCE3YTY.cjs');
13
+ var _chunkUPZH53RXcjs = require('./chunk-UPZH53RX.cjs');
14
14
 
15
15
 
16
16
 
@@ -25,7 +25,7 @@ var _chunk7UCE3YTYcjs = require('./chunk-7UCE3YTY.cjs');
25
25
 
26
26
 
27
27
 
28
- var _chunkY3GRHB77cjs = require('./chunk-Y3GRHB77.cjs');
28
+ var _chunkKFOTRFZScjs = require('./chunk-KFOTRFZS.cjs');
29
29
 
30
30
 
31
31
 
@@ -51,5 +51,5 @@ var _chunkY3GRHB77cjs = require('./chunk-Y3GRHB77.cjs');
51
51
 
52
52
 
53
53
 
54
- exports.AuthProvider = _chunkY3GRHB77cjs.AuthProvider; exports.AzureProvider = _chunkY3GRHB77cjs.AzureProvider; exports.DiscoveryDocumentCache = _chunk7UCE3YTYcjs.DiscoveryDocumentCache; exports.GitHubProvider = _chunkY3GRHB77cjs.GitHubProvider; exports.GoogleProvider = _chunkY3GRHB77cjs.GoogleProvider; exports.MEDIA_FETCH_TIMEOUT_MS = _chunk7UCE3YTYcjs.MEDIA_FETCH_TIMEOUT_MS; exports.OAuthProvider = _chunkY3GRHB77cjs.OAuthProvider; exports.OAuthProxy = _chunkY3GRHB77cjs.OAuthProxy; exports.OAuthProxyError = _chunkY3GRHB77cjs.OAuthProxyError; exports.ServerState = _chunk7UCE3YTYcjs.ServerState; exports.UnexpectedStateError = _chunk7UCE3YTYcjs.UnexpectedStateError; exports.UserError = _chunk7UCE3YTYcjs.UserError; exports.ViteMCP = _chunk7UCE3YTYcjs.ViteMCP; exports.ViteMCPError = _chunk7UCE3YTYcjs.ViteMCPError; exports.audioContent = _chunk7UCE3YTYcjs.audioContent; exports.delay = _chunk7UCE3YTYcjs.delay; exports.getAuthSession = _chunkY3GRHB77cjs.getAuthSession; exports.imageContent = _chunk7UCE3YTYcjs.imageContent; exports.jsonSchemaAdapter = _chunk7UCE3YTYcjs.jsonSchemaAdapter; exports.requireAll = _chunkY3GRHB77cjs.requireAll; exports.requireAny = _chunkY3GRHB77cjs.requireAny; exports.requireAuth = _chunkY3GRHB77cjs.requireAuth; exports.requireRole = _chunkY3GRHB77cjs.requireRole; exports.requireScopes = _chunkY3GRHB77cjs.requireScopes;
54
+ exports.AuthProvider = _chunkKFOTRFZScjs.AuthProvider; exports.AzureProvider = _chunkKFOTRFZScjs.AzureProvider; exports.DiscoveryDocumentCache = _chunkUPZH53RXcjs.DiscoveryDocumentCache; exports.GitHubProvider = _chunkKFOTRFZScjs.GitHubProvider; exports.GoogleProvider = _chunkKFOTRFZScjs.GoogleProvider; exports.MEDIA_FETCH_TIMEOUT_MS = _chunkUPZH53RXcjs.MEDIA_FETCH_TIMEOUT_MS; exports.OAuthProvider = _chunkKFOTRFZScjs.OAuthProvider; exports.OAuthProxy = _chunkKFOTRFZScjs.OAuthProxy; exports.OAuthProxyError = _chunkKFOTRFZScjs.OAuthProxyError; exports.ServerState = _chunkUPZH53RXcjs.ServerState; exports.UnexpectedStateError = _chunkUPZH53RXcjs.UnexpectedStateError; exports.UserError = _chunkUPZH53RXcjs.UserError; exports.ViteMCP = _chunkUPZH53RXcjs.ViteMCP; exports.ViteMCPError = _chunkUPZH53RXcjs.ViteMCPError; exports.audioContent = _chunkUPZH53RXcjs.audioContent; exports.delay = _chunkUPZH53RXcjs.delay; exports.getAuthSession = _chunkKFOTRFZScjs.getAuthSession; exports.imageContent = _chunkUPZH53RXcjs.imageContent; exports.jsonSchemaAdapter = _chunkUPZH53RXcjs.jsonSchemaAdapter; exports.requireAll = _chunkKFOTRFZScjs.requireAll; exports.requireAny = _chunkKFOTRFZScjs.requireAny; exports.requireAuth = _chunkKFOTRFZScjs.requireAuth; exports.requireRole = _chunkKFOTRFZScjs.requireRole; exports.requireScopes = _chunkKFOTRFZScjs.requireScopes;
55
55
  //# sourceMappingURL=ViteMCP.cjs.map
@@ -4,8 +4,8 @@ import { StandardSchemaV1 } from '@standard-schema/spec';
4
4
  import { Hono } from 'hono';
5
5
  import { cors } from 'hono/cors';
6
6
  export { setTimeout as delay } from 'timers/promises';
7
- import { A as AuthProvider, O as OAuthSession, a as OAuthProxy } from './OAuthProvider-COBBSCMI.cjs';
8
- export { j as AuthProviderConfig, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, d as OAuthProvider, p as OAuthProxyError, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from './OAuthProvider-COBBSCMI.cjs';
7
+ import { A as AuthProvider, O as OAuthSession, a as OAuthProxy } from './OAuthProvider-DvW1SyKx.cjs';
8
+ export { j as AuthProviderConfig, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, d as OAuthProvider, p as OAuthProxyError, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from './OAuthProvider-DvW1SyKx.cjs';
9
9
 
10
10
  declare class DiscoveryDocumentCache {
11
11
  #private;
@@ -207,7 +207,7 @@ type Context<T extends ViteMCPAuth> = {
207
207
  /**
208
208
  * Emits `notifications/message`. The spec forbids emitting these unless the
209
209
  * request opted in via `_meta` log level, so these are dropped when the
210
- * client did not ask for logs.
210
+ * client did not ask for logs, and below the level it asked for.
211
211
  */
212
212
  log: {
213
213
  debug: (message: string, data?: SerializableValue) => void;
@@ -461,7 +461,8 @@ declare class ViteMCP<T extends ViteMCPAuth = ViteMCPAuth> {
461
461
  getApp(): Hono;
462
462
  /**
463
463
  * Publishes `notifications/resources/updated` for a URI to any subscription
464
- * that opted in to it.
464
+ * that opted in to it and whose caller may read it. HTTP only: a stdio
465
+ * client is never reached.
465
466
  */
466
467
  notifyResourceUpdated(uri: string): void;
467
468
  removePrompt(name: string): void;
package/dist/ViteMCP.d.ts CHANGED
@@ -4,8 +4,8 @@ import { StandardSchemaV1 } from '@standard-schema/spec';
4
4
  import { Hono } from 'hono';
5
5
  import { cors } from 'hono/cors';
6
6
  export { setTimeout as delay } from 'timers/promises';
7
- import { A as AuthProvider, O as OAuthSession, a as OAuthProxy } from './OAuthProvider-COBBSCMI.js';
8
- export { j as AuthProviderConfig, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, d as OAuthProvider, p as OAuthProxyError, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from './OAuthProvider-COBBSCMI.js';
7
+ import { A as AuthProvider, O as OAuthSession, a as OAuthProxy } from './OAuthProvider-DvW1SyKx.js';
8
+ export { j as AuthProviderConfig, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, d as OAuthProvider, p as OAuthProxyError, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from './OAuthProvider-DvW1SyKx.js';
9
9
 
10
10
  declare class DiscoveryDocumentCache {
11
11
  #private;
@@ -207,7 +207,7 @@ type Context<T extends ViteMCPAuth> = {
207
207
  /**
208
208
  * Emits `notifications/message`. The spec forbids emitting these unless the
209
209
  * request opted in via `_meta` log level, so these are dropped when the
210
- * client did not ask for logs.
210
+ * client did not ask for logs, and below the level it asked for.
211
211
  */
212
212
  log: {
213
213
  debug: (message: string, data?: SerializableValue) => void;
@@ -461,7 +461,8 @@ declare class ViteMCP<T extends ViteMCPAuth = ViteMCPAuth> {
461
461
  getApp(): Hono;
462
462
  /**
463
463
  * Publishes `notifications/resources/updated` for a URI to any subscription
464
- * that opted in to it.
464
+ * that opted in to it and whose caller may read it. HTTP only: a stdio
465
+ * client is never reached.
465
466
  */
466
467
  notifyResourceUpdated(uri: string): void;
467
468
  removePrompt(name: string): void;
package/dist/ViteMCP.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  delay,
11
11
  imageContent,
12
12
  jsonSchemaAdapter
13
- } from "./chunk-M22UTH2Z.js";
13
+ } from "./chunk-UFLW3ODH.js";
14
14
  import {
15
15
  AuthProvider,
16
16
  AzureProvider,
@@ -25,7 +25,7 @@ import {
25
25
  requireAuth,
26
26
  requireRole,
27
27
  requireScopes
28
- } from "./chunk-5KNSU2F3.js";
28
+ } from "./chunk-HWSTK2ZH.js";
29
29
  export {
30
30
  AuthProvider,
31
31
  AzureProvider,
@@ -24,7 +24,7 @@
24
24
 
25
25
 
26
26
 
27
- var _chunkY3GRHB77cjs = require('../chunk-Y3GRHB77.cjs');
27
+ var _chunkKFOTRFZScjs = require('../chunk-KFOTRFZS.cjs');
28
28
 
29
29
 
30
30
 
@@ -51,5 +51,5 @@ var _chunkY3GRHB77cjs = require('../chunk-Y3GRHB77.cjs');
51
51
 
52
52
 
53
53
 
54
- exports.AuthProvider = _chunkY3GRHB77cjs.AuthProvider; exports.AzureProvider = _chunkY3GRHB77cjs.AzureProvider; exports.ConsentManager = _chunkY3GRHB77cjs.ConsentManager; exports.DEFAULT_ACCESS_TOKEN_TTL = _chunkY3GRHB77cjs.DEFAULT_ACCESS_TOKEN_TTL; exports.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH = _chunkY3GRHB77cjs.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH; exports.DEFAULT_AUTHORIZATION_CODE_TTL = _chunkY3GRHB77cjs.DEFAULT_AUTHORIZATION_CODE_TTL; exports.DEFAULT_REFRESH_TOKEN_TTL = _chunkY3GRHB77cjs.DEFAULT_REFRESH_TOKEN_TTL; exports.DEFAULT_TRANSACTION_TTL = _chunkY3GRHB77cjs.DEFAULT_TRANSACTION_TTL; exports.DiskStore = _chunkY3GRHB77cjs.DiskStore; exports.EncryptedTokenStorage = _chunkY3GRHB77cjs.EncryptedTokenStorage; exports.GitHubProvider = _chunkY3GRHB77cjs.GitHubProvider; exports.GoogleProvider = _chunkY3GRHB77cjs.GoogleProvider; exports.JWKSVerifier = _chunkY3GRHB77cjs.JWKSVerifier; exports.JWTIssuer = _chunkY3GRHB77cjs.JWTIssuer; exports.MemoryTokenStorage = _chunkY3GRHB77cjs.MemoryTokenStorage; exports.OAuthProvider = _chunkY3GRHB77cjs.OAuthProvider; exports.OAuthProxy = _chunkY3GRHB77cjs.OAuthProxy; exports.OAuthProxyError = _chunkY3GRHB77cjs.OAuthProxyError; exports.PKCEUtils = _chunkY3GRHB77cjs.PKCEUtils; exports.getAuthSession = _chunkY3GRHB77cjs.getAuthSession; exports.requireAll = _chunkY3GRHB77cjs.requireAll; exports.requireAny = _chunkY3GRHB77cjs.requireAny; exports.requireAuth = _chunkY3GRHB77cjs.requireAuth; exports.requireRole = _chunkY3GRHB77cjs.requireRole; exports.requireScopes = _chunkY3GRHB77cjs.requireScopes;
54
+ exports.AuthProvider = _chunkKFOTRFZScjs.AuthProvider; exports.AzureProvider = _chunkKFOTRFZScjs.AzureProvider; exports.ConsentManager = _chunkKFOTRFZScjs.ConsentManager; exports.DEFAULT_ACCESS_TOKEN_TTL = _chunkKFOTRFZScjs.DEFAULT_ACCESS_TOKEN_TTL; exports.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH = _chunkKFOTRFZScjs.DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH; exports.DEFAULT_AUTHORIZATION_CODE_TTL = _chunkKFOTRFZScjs.DEFAULT_AUTHORIZATION_CODE_TTL; exports.DEFAULT_REFRESH_TOKEN_TTL = _chunkKFOTRFZScjs.DEFAULT_REFRESH_TOKEN_TTL; exports.DEFAULT_TRANSACTION_TTL = _chunkKFOTRFZScjs.DEFAULT_TRANSACTION_TTL; exports.DiskStore = _chunkKFOTRFZScjs.DiskStore; exports.EncryptedTokenStorage = _chunkKFOTRFZScjs.EncryptedTokenStorage; exports.GitHubProvider = _chunkKFOTRFZScjs.GitHubProvider; exports.GoogleProvider = _chunkKFOTRFZScjs.GoogleProvider; exports.JWKSVerifier = _chunkKFOTRFZScjs.JWKSVerifier; exports.JWTIssuer = _chunkKFOTRFZScjs.JWTIssuer; exports.MemoryTokenStorage = _chunkKFOTRFZScjs.MemoryTokenStorage; exports.OAuthProvider = _chunkKFOTRFZScjs.OAuthProvider; exports.OAuthProxy = _chunkKFOTRFZScjs.OAuthProxy; exports.OAuthProxyError = _chunkKFOTRFZScjs.OAuthProxyError; exports.PKCEUtils = _chunkKFOTRFZScjs.PKCEUtils; exports.getAuthSession = _chunkKFOTRFZScjs.getAuthSession; exports.requireAll = _chunkKFOTRFZScjs.requireAll; exports.requireAny = _chunkKFOTRFZScjs.requireAny; exports.requireAuth = _chunkKFOTRFZScjs.requireAuth; exports.requireRole = _chunkKFOTRFZScjs.requireRole; exports.requireScopes = _chunkKFOTRFZScjs.requireScopes;
55
55
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
- import { q as OAuthTransaction, C as ConsentData, T as TokenStorage, s as TokenVerifier, t as TokenVerificationResult, P as PKCEPair } from '../OAuthProvider-COBBSCMI.cjs';
2
- export { A as AuthProvider, j as AuthProviderConfig, z as AuthorizationParams, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, B as ClientCode, u as ClientIdMetadataOptions, E as CustomClaimsPassthroughConfig, F as DCRClientMetadata, H as DCRRequest, I as DCRResponse, D as DEFAULT_ACCESS_TOKEN_TTL, v as DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH, w as DEFAULT_AUTHORIZATION_CODE_TTL, x as DEFAULT_REFRESH_TOKEN_TTL, y as DEFAULT_TRANSACTION_TTL, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, J as OAuthError, d as OAuthProvider, K as OAuthProviderConfig, a as OAuthProxy, L as OAuthProxyConfig, p as OAuthProxyError, O as OAuthSession, M as ProxyDCRClient, R as RefreshRequest, S as SessionAuth, N as TokenMapping, Q as TokenRequest, U as TokenResponse, V as UpstreamTokenSet, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from '../OAuthProvider-COBBSCMI.cjs';
1
+ import { q as OAuthTransaction, C as ConsentData, T as TokenStorage, s as TokenVerifier, t as TokenVerificationResult, P as PKCEPair } from '../OAuthProvider-DvW1SyKx.cjs';
2
+ export { A as AuthProvider, j as AuthProviderConfig, z as AuthorizationParams, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, B as ClientCode, u as ClientIdMetadataOptions, E as CustomClaimsPassthroughConfig, F as DCRClientMetadata, H as DCRRequest, I as DCRResponse, D as DEFAULT_ACCESS_TOKEN_TTL, v as DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH, w as DEFAULT_AUTHORIZATION_CODE_TTL, x as DEFAULT_REFRESH_TOKEN_TTL, y as DEFAULT_TRANSACTION_TTL, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, J as OAuthError, d as OAuthProvider, K as OAuthProviderConfig, a as OAuthProxy, L as OAuthProxyConfig, p as OAuthProxyError, O as OAuthSession, M as ProxyDCRClient, R as RefreshRequest, S as SessionAuth, N as TokenMapping, Q as TokenRequest, U as TokenResponse, V as UpstreamTokenSet, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from '../OAuthProvider-DvW1SyKx.cjs';
3
3
 
4
4
  /**
5
5
  * Consent Management
@@ -1,5 +1,5 @@
1
- import { q as OAuthTransaction, C as ConsentData, T as TokenStorage, s as TokenVerifier, t as TokenVerificationResult, P as PKCEPair } from '../OAuthProvider-COBBSCMI.js';
2
- export { A as AuthProvider, j as AuthProviderConfig, z as AuthorizationParams, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, B as ClientCode, u as ClientIdMetadataOptions, E as CustomClaimsPassthroughConfig, F as DCRClientMetadata, H as DCRRequest, I as DCRResponse, D as DEFAULT_ACCESS_TOKEN_TTL, v as DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH, w as DEFAULT_AUTHORIZATION_CODE_TTL, x as DEFAULT_REFRESH_TOKEN_TTL, y as DEFAULT_TRANSACTION_TTL, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, J as OAuthError, d as OAuthProvider, K as OAuthProviderConfig, a as OAuthProxy, L as OAuthProxyConfig, p as OAuthProxyError, O as OAuthSession, M as ProxyDCRClient, R as RefreshRequest, S as SessionAuth, N as TokenMapping, Q as TokenRequest, U as TokenResponse, V as UpstreamTokenSet, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from '../OAuthProvider-COBBSCMI.js';
1
+ import { q as OAuthTransaction, C as ConsentData, T as TokenStorage, s as TokenVerifier, t as TokenVerificationResult, P as PKCEPair } from '../OAuthProvider-DvW1SyKx.js';
2
+ export { A as AuthProvider, j as AuthProviderConfig, z as AuthorizationParams, b as AzureProvider, k as AzureProviderConfig, l as AzureSession, B as ClientCode, u as ClientIdMetadataOptions, E as CustomClaimsPassthroughConfig, F as DCRClientMetadata, H as DCRRequest, I as DCRResponse, D as DEFAULT_ACCESS_TOKEN_TTL, v as DEFAULT_ACCESS_TOKEN_TTL_NO_REFRESH, w as DEFAULT_AUTHORIZATION_CODE_TTL, x as DEFAULT_REFRESH_TOKEN_TTL, y as DEFAULT_TRANSACTION_TTL, m as GenericOAuthProviderConfig, G as GitHubProvider, n as GitHubSession, c as GoogleProvider, o as GoogleSession, J as OAuthError, d as OAuthProvider, K as OAuthProviderConfig, a as OAuthProxy, L as OAuthProxyConfig, p as OAuthProxyError, O as OAuthSession, M as ProxyDCRClient, R as RefreshRequest, S as SessionAuth, N as TokenMapping, Q as TokenRequest, U as TokenResponse, V as UpstreamTokenSet, g as getAuthSession, r as requireAll, e as requireAny, f as requireAuth, h as requireRole, i as requireScopes } from '../OAuthProvider-DvW1SyKx.js';
3
3
 
4
4
  /**
5
5
  * Consent Management
@@ -24,7 +24,7 @@ import {
24
24
  requireAuth,
25
25
  requireRole,
26
26
  requireScopes
27
- } from "../chunk-5KNSU2F3.js";
27
+ } from "../chunk-HWSTK2ZH.js";
28
28
  export {
29
29
  AuthProvider,
30
30
  AzureProvider,
@@ -2876,7 +2876,9 @@ var AzureProvider = class extends AuthProvider {
2876
2876
  // they trust. A previous default of ["http://localhost:*", "https://*"]
2877
2877
  // enabled CWE-601 open-redirect / code-theft via /oauth/authorize.
2878
2878
  allowedRedirectUriPatterns: this.config.allowedRedirectUriPatterns,
2879
+ allowPlainPkce: this.config.allowPlainPkce,
2879
2880
  baseUrl: this.config.baseUrl,
2881
+ clientIdMetadata: this.config.clientIdMetadata,
2880
2882
  consentRequired: this.config.consentRequired ?? true,
2881
2883
  encryptionKey: this.config.encryptionKey,
2882
2884
  jwtSigningKey: this.config.jwtSigningKey,
@@ -2910,7 +2912,9 @@ var GitHubProvider = class extends AuthProvider {
2910
2912
  // they trust. A previous default of ["http://localhost:*", "https://*"]
2911
2913
  // enabled CWE-601 open-redirect / code-theft via /oauth/authorize.
2912
2914
  allowedRedirectUriPatterns: this.config.allowedRedirectUriPatterns,
2915
+ allowPlainPkce: this.config.allowPlainPkce,
2913
2916
  baseUrl: this.config.baseUrl,
2917
+ clientIdMetadata: this.config.clientIdMetadata,
2914
2918
  consentRequired: this.config.consentRequired ?? true,
2915
2919
  encryptionKey: this.config.encryptionKey,
2916
2920
  jwtSigningKey: this.config.jwtSigningKey,
@@ -2944,7 +2948,9 @@ var GoogleProvider = class extends AuthProvider {
2944
2948
  // they trust. A previous default of ["http://localhost:*", "https://*"]
2945
2949
  // enabled CWE-601 open-redirect / code-theft via /oauth/authorize.
2946
2950
  allowedRedirectUriPatterns: this.config.allowedRedirectUriPatterns,
2951
+ allowPlainPkce: this.config.allowPlainPkce,
2947
2952
  baseUrl: this.config.baseUrl,
2953
+ clientIdMetadata: this.config.clientIdMetadata,
2948
2954
  consentRequired: this.config.consentRequired ?? true,
2949
2955
  encryptionKey: this.config.encryptionKey,
2950
2956
  jwtSigningKey: this.config.jwtSigningKey,
@@ -2980,7 +2986,9 @@ var OAuthProvider = class extends AuthProvider {
2980
2986
  // they trust. A previous default of ["http://localhost:*", "https://*"]
2981
2987
  // enabled CWE-601 open-redirect / code-theft via /oauth/authorize.
2982
2988
  allowedRedirectUriPatterns: this.config.allowedRedirectUriPatterns,
2989
+ allowPlainPkce: this.config.allowPlainPkce,
2983
2990
  baseUrl: this.config.baseUrl,
2991
+ clientIdMetadata: this.config.clientIdMetadata,
2984
2992
  consentRequired: this.config.consentRequired ?? true,
2985
2993
  encryptionKey: this.config.encryptionKey,
2986
2994
  jwtSigningKey: this.config.jwtSigningKey,
@@ -3373,4 +3381,4 @@ export {
3373
3381
  DiskStore,
3374
3382
  JWKSVerifier
3375
3383
  };
3376
- //# sourceMappingURL=chunk-5KNSU2F3.js.map
3384
+ //# sourceMappingURL=chunk-HWSTK2ZH.js.map