@better-auth/mcp 1.7.11 → 1.7.12

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -0
  2. package/package.json +8 -8
package/dist/index.mjs CHANGED
@@ -234,6 +234,7 @@ const requireMcpAuth = (auth, handler, opts) => {
234
234
  return createMcpProtectedRequestHandler({
235
235
  issuer,
236
236
  audience: resource,
237
+ jwtVerifyOptions: { requiredClaims: ["azp"] },
237
238
  requiredScopes: opts?.requiredScopes,
238
239
  challengeScopes: opts?.challengeScopes,
239
240
  isScopeSatisfied: opts?.isScopeSatisfied,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-auth/mcp",
3
- "version": "1.7.11",
3
+ "version": "1.7.12",
4
4
  "description": "Model Context Protocol (MCP) plugin for Better Auth",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -47,20 +47,20 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "jose": "^6.1.3",
50
- "@better-auth/oauth-provider": "^1.7.11"
50
+ "@better-auth/oauth-provider": "^1.7.12"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@modelcontextprotocol/client": "2.0.0",
54
54
  "@modelcontextprotocol/server": "2.0.0",
55
- "better-call": "1.4.2",
55
+ "better-call": "1.4.4",
56
56
  "tsdown": "0.21.10",
57
- "@better-auth/core": "1.7.11",
58
- "better-auth": "1.7.11"
57
+ "@better-auth/core": "1.7.12",
58
+ "better-auth": "1.7.12"
59
59
  },
60
60
  "peerDependencies": {
61
- "better-call": "1.4.2",
62
- "@better-auth/core": "^1.7.11",
63
- "better-auth": "^1.7.11"
61
+ "better-call": "1.4.4",
62
+ "@better-auth/core": "^1.7.12",
63
+ "better-auth": "^1.7.12"
64
64
  },
65
65
  "scripts": {
66
66
  "build": "tsdown",