@mastra/auth-workos 1.1.2 → 1.2.0-alpha.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/CHANGELOG.md +42 -0
- package/README.md +70 -6
- package/dist/auth-provider.d.ts +14 -0
- package/dist/auth-provider.d.ts.map +1 -1
- package/dist/fga-provider.d.ts +158 -0
- package/dist/fga-provider.d.ts.map +1 -0
- package/dist/index.cjs +595 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +593 -20
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +135 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +10 -10
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shared types for WorkOS integration.
|
|
3
3
|
*/
|
|
4
|
-
import type {
|
|
4
|
+
import type { JwtPayload } from '@mastra/auth';
|
|
5
|
+
import type { EEUser, MastraFGAPermission, RoleMapping } from '@mastra/core/auth/ee';
|
|
6
|
+
import type { RequestContext } from '@mastra/core/di';
|
|
5
7
|
import type { User, OrganizationMembership } from '@workos-inc/node';
|
|
6
8
|
/**
|
|
7
9
|
* Extended EEUser with WorkOS-specific fields.
|
|
@@ -13,6 +15,8 @@ export interface WorkOSUser extends EEUser {
|
|
|
13
15
|
organizationId?: string;
|
|
14
16
|
/** Organization memberships with roles */
|
|
15
17
|
memberships?: OrganizationMembership[];
|
|
18
|
+
/** Pre-resolved organization membership ID (if available) */
|
|
19
|
+
organizationMembershipId?: string;
|
|
16
20
|
}
|
|
17
21
|
/**
|
|
18
22
|
* Maps a WorkOS User to EEUser format.
|
|
@@ -50,6 +54,26 @@ export interface WorkOSSessionConfig {
|
|
|
50
54
|
/** SameSite attribute (default: 'Lax') */
|
|
51
55
|
sameSite?: 'Strict' | 'Lax' | 'None';
|
|
52
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* Mapping from a verified bearer JWT payload into a WorkOSUser.
|
|
59
|
+
*
|
|
60
|
+
* Use this when your WorkOS JWT template includes custom claims such as
|
|
61
|
+
* `organizationMembershipId`, tenant IDs, or service-account identifiers.
|
|
62
|
+
*/
|
|
63
|
+
export interface WorkOSJwtClaimsConfig {
|
|
64
|
+
/** Claim path for the Mastra user ID. Defaults to `sub`. */
|
|
65
|
+
userId?: string;
|
|
66
|
+
/** Claim path for the WorkOS user ID. Defaults to the resolved userId. */
|
|
67
|
+
workosId?: string;
|
|
68
|
+
/** Claim path for the user's email. Defaults to `email`. */
|
|
69
|
+
email?: string;
|
|
70
|
+
/** Claim path for the user's display name. Defaults to `name`. */
|
|
71
|
+
name?: string;
|
|
72
|
+
/** Claim path for the organization ID. Defaults to `org_id`. */
|
|
73
|
+
organizationId?: string;
|
|
74
|
+
/** Claim path for the organization membership ID used by FGA. */
|
|
75
|
+
organizationMembershipId?: string;
|
|
76
|
+
}
|
|
53
77
|
/**
|
|
54
78
|
* Options for MastraAuthWorkos.
|
|
55
79
|
*/
|
|
@@ -66,6 +90,38 @@ export interface MastraAuthWorkosOptions {
|
|
|
66
90
|
session?: WorkOSSessionConfig;
|
|
67
91
|
/** Custom provider name (default: 'workos') */
|
|
68
92
|
name?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Whether to fetch organization memberships during authentication.
|
|
95
|
+
*
|
|
96
|
+
* Memberships are required for FGA (Fine-Grained Authorization) checks.
|
|
97
|
+
* When FGA is not configured, set this to `false` to skip the extra
|
|
98
|
+
* network call to `listOrganizationMemberships` on every authenticated request.
|
|
99
|
+
*
|
|
100
|
+
* Defaults to `false`. Set to `true` when using `MastraFGAWorkos`.
|
|
101
|
+
*/
|
|
102
|
+
fetchMemberships?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Claim mapping for verified bearer JWTs.
|
|
105
|
+
*
|
|
106
|
+
* This is useful when your WorkOS JWT template includes custom claims such as
|
|
107
|
+
* `organizationMembershipId`, team IDs, or service-account identity fields.
|
|
108
|
+
*/
|
|
109
|
+
jwtClaims?: WorkOSJwtClaimsConfig;
|
|
110
|
+
/**
|
|
111
|
+
* When `true`, trust the verified bearer JWT claims enough to construct a
|
|
112
|
+
* `WorkOSUser` even if `workos.userManagement.getUser()` does not apply.
|
|
113
|
+
*
|
|
114
|
+
* Use this for machine-to-machine or service-account tokens backed by a
|
|
115
|
+
* WorkOS custom JWT template.
|
|
116
|
+
*
|
|
117
|
+
* Defaults to `false`.
|
|
118
|
+
*/
|
|
119
|
+
trustJwtClaims?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Optional escape hatch for advanced bearer-token claim mapping.
|
|
122
|
+
* Runs after `jwtClaims` mapping and can override or augment the resolved user.
|
|
123
|
+
*/
|
|
124
|
+
mapJwtPayloadToUser?: (payload: JwtPayload) => Partial<WorkOSUser> | null | undefined;
|
|
69
125
|
}
|
|
70
126
|
/**
|
|
71
127
|
* Cache configuration options for RBAC permission caching.
|
|
@@ -106,6 +162,84 @@ export interface MastraRBACWorkosOptions {
|
|
|
106
162
|
/** Permission cache configuration */
|
|
107
163
|
cache?: PermissionCacheOptions;
|
|
108
164
|
}
|
|
165
|
+
/**
|
|
166
|
+
* Configuration for mapping Mastra resource types to FGA resource types.
|
|
167
|
+
*
|
|
168
|
+
* @example
|
|
169
|
+
* ```typescript
|
|
170
|
+
* {
|
|
171
|
+
* agent: { fgaResourceType: 'team', deriveId: (ctx) => ctx.user.teamId },
|
|
172
|
+
* workflow: { fgaResourceType: 'team', deriveId: (ctx) => ctx.user.teamId },
|
|
173
|
+
* thread: { fgaResourceType: 'workspace-thread', deriveId: ({ resourceId }) => resourceId },
|
|
174
|
+
* }
|
|
175
|
+
* ```
|
|
176
|
+
*/
|
|
177
|
+
export interface FGAResourceMappingEntry {
|
|
178
|
+
/** The FGA resource type slug in WorkOS */
|
|
179
|
+
fgaResourceType: string;
|
|
180
|
+
/**
|
|
181
|
+
* Parent FGA resource type slug used for batched WorkOS resource discovery.
|
|
182
|
+
*
|
|
183
|
+
* Set this when `deriveId` returns a parent resource ID without a concrete
|
|
184
|
+
* child resource ID. For example, an agent mapping with
|
|
185
|
+
* `fgaResourceType: 'team-agent'` can use `parentFgaResourceType: 'team'`.
|
|
186
|
+
*/
|
|
187
|
+
parentFgaResourceType?: string;
|
|
188
|
+
/** Alias for parentFgaResourceType. */
|
|
189
|
+
parentResourceTypeSlug?: string;
|
|
190
|
+
/**
|
|
191
|
+
* Derive the FGA resource ID from request/user context.
|
|
192
|
+
* Return `undefined` to fall back to the raw Mastra resource ID.
|
|
193
|
+
*/
|
|
194
|
+
deriveId?: (ctx: {
|
|
195
|
+
user: any;
|
|
196
|
+
resourceId?: string;
|
|
197
|
+
requestContext?: RequestContext;
|
|
198
|
+
}) => string | undefined;
|
|
199
|
+
}
|
|
200
|
+
export type MastraFGAPermissionMapping = Partial<Record<MastraFGAPermission, string>> & Record<string, string>;
|
|
201
|
+
/**
|
|
202
|
+
* Options for MastraFGAWorkos provider.
|
|
203
|
+
*
|
|
204
|
+
* @example
|
|
205
|
+
* ```typescript
|
|
206
|
+
* import { MastraFGAPermissions } from '@mastra/core/auth/ee';
|
|
207
|
+
*
|
|
208
|
+
* new MastraFGAWorkos({
|
|
209
|
+
* resourceMapping: {
|
|
210
|
+
* agent: { fgaResourceType: 'team', deriveId: (ctx) => ctx.user.teamId },
|
|
211
|
+
* },
|
|
212
|
+
* permissionMapping: {
|
|
213
|
+
* [MastraFGAPermissions.AGENTS_EXECUTE]: 'manage-workflows',
|
|
214
|
+
* },
|
|
215
|
+
* });
|
|
216
|
+
* ```
|
|
217
|
+
*/
|
|
218
|
+
export interface MastraFGAWorkosOptions {
|
|
219
|
+
/** WorkOS API key (defaults to WORKOS_API_KEY env var) */
|
|
220
|
+
apiKey?: string;
|
|
221
|
+
/** WorkOS Client ID (defaults to WORKOS_CLIENT_ID env var) */
|
|
222
|
+
clientId?: string;
|
|
223
|
+
/**
|
|
224
|
+
* Organization ID to scope FGA checks to.
|
|
225
|
+
* When a user has multiple organization memberships, this determines
|
|
226
|
+
* which membership to use for authorization checks.
|
|
227
|
+
* If not provided, uses the first membership found on the user object.
|
|
228
|
+
*/
|
|
229
|
+
organizationId?: string;
|
|
230
|
+
/**
|
|
231
|
+
* Map Mastra resource types to WorkOS FGA resource types.
|
|
232
|
+
* Keys are Mastra resource types (e.g., 'agent', 'workflow', 'thread').
|
|
233
|
+
* Legacy aliases such as 'agents', 'workflows', and 'memory' are also accepted.
|
|
234
|
+
*/
|
|
235
|
+
resourceMapping?: Record<string, FGAResourceMappingEntry>;
|
|
236
|
+
/**
|
|
237
|
+
* Map Mastra permission strings to WorkOS permission slugs.
|
|
238
|
+
* Keys are Mastra permissions such as MastraFGAPermissions.AGENTS_EXECUTE,
|
|
239
|
+
* values are WorkOS permission slugs.
|
|
240
|
+
*/
|
|
241
|
+
permissionMapping?: MastraFGAPermissionMapping;
|
|
242
|
+
}
|
|
109
243
|
/**
|
|
110
244
|
* Handlers for Directory Sync webhook events.
|
|
111
245
|
*/
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACrF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,IAAI,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAMrE;;GAEG;AACH,MAAM,WAAW,UAAW,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C,CAAC;IACvC,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACxC;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,4FAA4F;IAC5F,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qBAAqB;IACrB,QAAQ,EAAE,qBAAqB,CAAC;CACjC;AAMD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,OAAO,GAAG,YAAY,GAAG,aAAa,CAAC;AAE/E;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/auth-workos",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0-alpha.0",
|
|
4
4
|
"description": "Mastra WorkOS Auth integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@workos-inc/node": "8.
|
|
23
|
+
"@workos-inc/node": "8.8.0",
|
|
24
24
|
"@workos/authkit-session": "^0.3.4",
|
|
25
25
|
"lru-cache": "^11.2.7",
|
|
26
26
|
"@mastra/auth": "1.0.2"
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "22.19.15",
|
|
33
|
-
"@vitest/coverage-v8": "4.
|
|
34
|
-
"@vitest/ui": "4.
|
|
35
|
-
"eslint": "^
|
|
33
|
+
"@vitest/coverage-v8": "4.1.5",
|
|
34
|
+
"@vitest/ui": "4.1.5",
|
|
35
|
+
"eslint": "^10.2.1",
|
|
36
36
|
"hono": "^4.12.8",
|
|
37
37
|
"tsup": "^8.5.1",
|
|
38
|
-
"typescript": "^
|
|
39
|
-
"vitest": "4.
|
|
40
|
-
"@internal/
|
|
41
|
-
"@internal/
|
|
42
|
-
"@mastra/core": "1.
|
|
38
|
+
"typescript": "^6.0.3",
|
|
39
|
+
"vitest": "4.1.5",
|
|
40
|
+
"@internal/lint": "0.0.90",
|
|
41
|
+
"@internal/types-builder": "0.0.65",
|
|
42
|
+
"@mastra/core": "1.32.0-alpha.2"
|
|
43
43
|
},
|
|
44
44
|
"files": [
|
|
45
45
|
"dist",
|