trails/apps/journal/app/lib/connected-services/providers/komoot/manifest.ts
Ullrich Schäfer 03304c354b
Add Komoot import with public (bio verification) and authenticated modes
Two-mode import: public mode verifies Komoot account ownership by checking
that the user's trails.cool profile URL appears in their Komoot bio — no
credentials stored. Authenticated mode uses email + password (AES-256-GCM
encrypted) to import private tours as well.

Includes unit tests for crypto/komoot client and E2E tests for the full
connect + import flow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 10:18:46 +02:00

20 lines
718 B
TypeScript

// Komoot provider manifest.
//
// Komoot supports two credential modes:
// public — unauthenticated ownership verification via bio link
// authenticated — email + AES-256-GCM encrypted password
//
// Neither mode uses OAuth; credentials are managed via a custom connect page.
import { noopCredentialAdapter } from "../../credential-adapters/noop.ts";
import type { ProviderManifest } from "../../registry.ts";
import { komootImporter } from "./importer.ts";
export const komootManifest: ProviderManifest = {
id: "komoot",
displayName: "Komoot",
credentialKind: "web-login",
credentialAdapter: noopCredentialAdapter,
connectUrl: "/settings/connections/komoot",
importer: komootImporter,
};