Skip to content

Commit 1908488

Browse files
committed
fixing more PR comments
1 parent edc9f06 commit 1908488

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/docs/guides/pub-sub/notifications-center.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,15 +491,15 @@ notification payloads, and platform-specific setup, see the [push notifications
491491
### Best practices for offline handling
492492

493493
* **Enable history on inbox channels** to allow users to retrieve missed notifications
494-
* **Set appropriate history retention** based on your use case (24 hours to 1 year)
494+
* **Set appropriate history retention** based on your use case (2 minutes to 1 year)
495495
* **Use push notifications for critical alerts** that require immediate user attention
496496
* **Consider notification priorities** - not all notifications need push delivery
497497

498498
## Production-ready checklist
499499

500500
Before launching your notification center, review these key points:
501501

502-
* **Authentication:** Use token authentication for all client-side communication with short TTLs (1-4 hours).
502+
* **Authentication:** Use JWT authentication for all client-side communication with short TTLs (1-4 hours max).
503503
* **Capabilities:** Apply the principle of least privilege - clients should only have publish access to an outbox and subscribe access to their own inbox.
504504
* **Validation:** Validate all notification request data in your processing pipeline, never trust client data.
505505
* **Monitoring:** Subscribe to [`[meta]log` channels](/docs/platform/errors#meta) to track integration errors and issues.

0 commit comments

Comments
 (0)