@sixb/server 0.1.13 → 0.1.15

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.
@@ -1 +1 @@
1
- {"version":3,"file":"projections.d.ts","sourceRoot":"","sources":["../../src/schemas/projections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAE7C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvB,eAAO,MAAM,oBAAoB,4CAA0C,CAAA;AAC3E,eAAO,MAAM,yBAAyB,sEAMpC,CAAA;AA0DF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAI9B,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;EAKrC,CAAA;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;IAG7C,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1C,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sixb/server",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "HTTP and WebSocket API server for Sixb",
5
5
  "keywords": [
6
6
  "sixb",
@@ -38,13 +38,13 @@
38
38
  "zod-to-json-schema": "^3.24.0"
39
39
  },
40
40
  "peerDependencies": {
41
- "@sixb/core": "0.1.13"
41
+ "@sixb/core": "0.1.15"
42
42
  },
43
43
  "devDependencies": {
44
- "@sixb/auth-magic-link": "0.1.4",
45
- "@sixb/auth-oidc": "0.1.3",
46
- "@sixb/core": "0.1.13",
47
- "@sixb/sqlite": "0.1.13",
44
+ "@sixb/auth-magic-link": "0.1.5",
45
+ "@sixb/auth-oidc": "0.1.4",
46
+ "@sixb/core": "0.1.15",
47
+ "@sixb/sqlite": "0.1.15",
48
48
  "@types/bun": "latest",
49
49
  "typescript": "^5.7.0"
50
50
  },
@@ -22,6 +22,7 @@ import {
22
22
  isOidcAuthStrategy,
23
23
  type MagicLinkAuthStrategy,
24
24
  type MemberSummary,
25
+ SignInRefusedError,
25
26
  shouldUseSecureCookies,
26
27
  verifyCsrfToken,
27
28
  verifyDoubleSubmitCsrf,
@@ -1260,7 +1261,7 @@ export function registerAuthRoutes(app: Elysia, host: SixbHostView, options: Aut
1260
1261
  groupIds: parsed.groupIds,
1261
1262
  })
1262
1263
 
1263
- return jsonResponse({ member: serializeManagedMember(result.user, result.groupIds) }, 200)
1264
+ return jsonResponse({ member: serializeManagedMember(result) }, 200)
1264
1265
  } catch (error) {
1265
1266
  return authRouteErrorResponse(error)
1266
1267
  }
@@ -1292,7 +1293,7 @@ export function registerAuthRoutes(app: Elysia, host: SixbHostView, options: Aut
1292
1293
  const parsed = AuthMemberParamsSchema.parse(params)
1293
1294
  const result = await host.auth.suspendMember(caller, { userId: parsed.userId })
1294
1295
 
1295
- return jsonResponse({ member: serializeManagedMember(result.user, result.groupIds) }, 200)
1296
+ return jsonResponse({ member: serializeManagedMember(result) }, 200)
1296
1297
  } catch (error) {
1297
1298
  return authRouteErrorResponse(error)
1298
1299
  }
@@ -1322,7 +1323,7 @@ export function registerAuthRoutes(app: Elysia, host: SixbHostView, options: Aut
1322
1323
  const parsed = AuthMemberParamsSchema.parse(params)
1323
1324
  const result = await host.auth.reactivateMember(caller, { userId: parsed.userId })
1324
1325
 
1325
- return jsonResponse({ member: serializeManagedMember(result.user, result.groupIds) }, 200)
1326
+ return jsonResponse({ member: serializeManagedMember(result) }, 200)
1326
1327
  } catch (error) {
1327
1328
  return authRouteErrorResponse(error)
1328
1329
  }
@@ -1556,6 +1557,9 @@ export function registerAuthRoutes(app: Elysia, host: SixbHostView, options: Aut
1556
1557
  })
1557
1558
  } catch (error) {
1558
1559
  logAuthCallbackError("OIDC", error)
1560
+ if (error instanceof SignInRefusedError) {
1561
+ return htmlMessageResponse(signInRefusalMessage(error), 403, "You can't sign in")
1562
+ }
1559
1563
  return htmlMessageResponse("This sign-in attempt could not be completed.", 400)
1560
1564
  }
1561
1565
  }
@@ -2470,15 +2474,16 @@ function serializeInvitationDelivery(delivery: InviteDeliveryResult) {
2470
2474
 
2471
2475
  function serializeMemberSummary(member: MemberSummary) {
2472
2476
  return {
2473
- ...serializeManagedMember(member.user, member.groupIds),
2477
+ ...serializeManagedMember(member),
2474
2478
  capabilities: member.capabilities,
2475
2479
  }
2476
2480
  }
2477
2481
 
2478
- function serializeManagedMember(user: UserRecord, groupIds: readonly string[]) {
2482
+ function serializeManagedMember(member: Omit<MemberSummary, "capabilities">) {
2479
2483
  return {
2480
- user: serializeMemberUser(user),
2481
- groupIds: [...groupIds],
2484
+ user: serializeMemberUser(member.user),
2485
+ groupIds: [...member.groupIds],
2486
+ managedGroupIds: [...member.managedGroupIds],
2482
2487
  }
2483
2488
  }
2484
2489
 
@@ -2552,17 +2557,40 @@ function authRouteErrorResponse(error: unknown): Response {
2552
2557
  return jsonResponse({ error: String(error) }, 500)
2553
2558
  }
2554
2559
 
2560
+ function signInRefusalMessage(error: SignInRefusedError): string {
2561
+ const who = error.email ?? "This account"
2562
+ switch (error.reason) {
2563
+ case "not_invited":
2564
+ return `${who} hasn't been invited. Ask an administrator to invite this address.`
2565
+ case "suspended":
2566
+ return `${who} has been suspended. Ask an administrator to reactivate it.`
2567
+ case "domain_not_allowed":
2568
+ return `${who} isn't on a domain that can sign in here.`
2569
+ case "no_trusted_address":
2570
+ return "Your identity provider didn't share an email address this app trusts. Ask an administrator to check the sign-in setup."
2571
+ }
2572
+ }
2573
+
2555
2574
  function logAuthCallbackError(kind: string, error: unknown): void {
2556
- if (process.env.NODE_ENV !== "development" && process.env.SIXB_AUTH_DEBUG !== "1") {
2575
+ // A provider that vouches for no address is a setup mistake nobody signing in can fix, so it is
2576
+ // logged even without SIXB_AUTH_DEBUG.
2577
+ const setupMistake = error instanceof SignInRefusedError && error.reason === "no_trusted_address"
2578
+ if (
2579
+ !setupMistake &&
2580
+ process.env.NODE_ENV !== "development" &&
2581
+ process.env.SIXB_AUTH_DEBUG !== "1"
2582
+ ) {
2557
2583
  return
2558
2584
  }
2559
2585
 
2560
2586
  const detail =
2561
2587
  error instanceof AuthStorageError
2562
2588
  ? `${error.name}(${error.code}): ${error.message}`
2563
- : error instanceof Error
2564
- ? `${error.name}: ${error.message}`
2565
- : String(error)
2589
+ : error instanceof SignInRefusedError
2590
+ ? `${error.name}(${error.reason}): ${error.message}`
2591
+ : error instanceof Error
2592
+ ? `${error.name}: ${error.message}`
2593
+ : String(error)
2566
2594
 
2567
2595
  console.error(`[SixbServer] ${kind} auth callback failed: ${detail}`)
2568
2596
  }
@@ -81,6 +81,8 @@ export const AuthMemberUserSchema = z.object({
81
81
  export const AuthManagedMemberSchema = z.object({
82
82
  user: AuthMemberUserSchema,
83
83
  groupIds: z.array(z.string()),
84
+ /** The groups among `groupIds` the identity provider manages; they sync at sign-in. */
85
+ managedGroupIds: z.array(z.string()),
84
86
  })
85
87
 
86
88
  export const AuthMemberCapabilitiesSchema = z.object({
@@ -13,6 +13,7 @@ export const ProjectionRunStatusSchema = z.enum([
13
13
  "succeeded",
14
14
  "failed",
15
15
  "cancelled",
16
+ "superseded",
16
17
  ])
17
18
 
18
19
  const ProjectionRunIdentityBaseSchema = z.object({