@happyvertical/smrt-users 0.55.11 → 0.55.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.
package/README.md CHANGED
@@ -362,6 +362,12 @@ await createSessionCookie(event, userId, tenantId, { db }); // login
362
362
  await destroySessionCookie(event, { db }); // logout
363
363
  ```
364
364
 
365
+ The handler only handles its own session/context initialization failures:
366
+ without `postgresRls` the request continues once with empty locals; with
367
+ `postgresRls` it returns 500. Errors thrown downstream of `resolve()` —
368
+ including SvelteKit `redirect()` from a later handle — propagate unchanged and
369
+ the downstream chain runs exactly once.
370
+
365
371
  ### OIDC login with Kanidm or Dex
366
372
 
367
373
  Kanidm and Dex both work through the generic s-m-r-t OIDC flow. Configure one or