Skip to content

Investigate App Attest / Play Integrity for headless auth #8

@dcadenas

Description

@dcadenas

Headless auth endpoints accept passwords directly. CORS restricts browser access, but native apps bypass CORS entirely. Currently any app can call these endpoints—we can't distinguish our genuine Divine app from a malicious clone.

App Attest (iOS) and Play Integrity (Android) let us verify requests come from legitimate app installations before accepting credentials.

This spans both backend and mobile:

  • Backend: Verify attestation tokens with Apple/Google, store key IDs, check assertions on login/register
  • Mobile: Generate attestations via platform APIs and include in requests

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions