Skip to content

Keep providers' auth tokens in the host #1138

Closed

Description

@filvecchiato

A provider's worker signs in to its own service and keeps the token with the host. Provider API keys stay in the provider's backend.

  • AuthTokens (feat(truapi): products keep auth tokens with the host #1379): store, get and remove a token per service, scoped to the calling product
  • The worker signs in and refreshes itself, following its provider's pipeline; the host never authenticates
  • Hosts keep tokens in Keychain or Android Keystore and clear them on sign-out (AuthTokenPlatform)
  • Provider keys never reach the host, core, a worker or a product; DUB device tokens stay host-only

Done when A provider's worker signs in once and reuses its stored token across restarts on iOS and Android.
Depends on #479, #1137

Activity

  1. self-assigned this
    on Oct 5, 2026
  2. filvecchiato commented on Oct 9, 2026

    @filvecchiato
    CollaboratorAuthor
  3. changed the title [-]Store third-party API keys[/-] [+]Keep providers' auth tokens in the host[/+] on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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