Skip to content

Commit f57d1bf

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 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.
@@ -511,7 +511,7 @@ Before launching your notification center, review these key points:
511511

512512
## Next steps
513513

514-
* Read the [token authentication documentation](/docs/auth/token) for detailed auth implementation.
514+
* Read the [JWT authentication documentation](/docs/auth/token) for detailed auth implementation.
515515
* Explore [integration options](/docs/platform/integrations) to choose the right processing pipeline for your needs.
516516
* Learn about [push notifications](/docs/push) to handle offline delivery.
517517
* Review the [batch publish API](/docs/api/rest-api#batch-publish) for efficient multi-channel publishing.

0 commit comments

Comments
 (0)