Skip to content

Add server time endpoint for authoritative Unix timestamp checks #31

@rob1997

Description

@rob1997

What

Clients need an authoritative current Unix timestamp from the indexer/API boundary to avoid relying on local device time when evaluating subscription expiry.

How to Reproduce

  1. Evaluate Subscription.endTime on the client.
  2. Compare behavior across clients with skewed local clocks.
  3. Observe inconsistent access decisions when local time is inaccurate.

Expectation

Provide a lightweight endpoint that returns current server Unix time for consistent subscription validity checks.

Additional Context (optional)

There is already work in #24 for server-side active subscription checks. This issue should either complement that endpoint (if still needed) or be resolved by documenting why #24 is sufficient.

Estimation

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions