Skip to content

Support programmatic Clerk API key authentication #584

@jamiefolsom

Description

@jamiefolsom

Context

The Clerk SSO migration gates legacy username/password login behind FairCopy-specific headers (see #TBD). Once that gate is enforced, there is no supported way for scripts, integrations, or other programmatic clients to authenticate against the FairData API — Clerk's OAuth/SSO flow requires browser-based interactive login.

Request

Provide a machine-friendly authentication mechanism for programmatic API access. Possible approaches:

  • API keys — per-user or per-project, issued through the FairData admin UI
  • Clerk API tokens — if Clerk supports long-lived tokens or service accounts
  • OAuth client credentials flow — standard app-to-app auth with no user interaction

Use Cases

  • Scripts that read/write project data via the Core Data API
  • CI/CD pipelines (e.g., automated data import/export)
  • Third-party integrations beyond FairCopy Cloud

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

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