Skip to content

Social auth account linking orchestration workflow #1273

Description

@Wilfred007

What

Social auth account linking orchestration workflow.

Why

Linking a new social identity to an existing account involves verification steps not currently coordinated as a workflow.

Scope

In scope:

  • Define and implement the workflow steps described against socialAuthController.ts
  • Error handling and retry behavior for each step
  • Observability (logging/tracing) for workflow execution
  • Tests covering the happy path and at least one failure path

Out of scope:

  • Redesigning the underlying service being orchestrated
  • Building unrelated workflows not described in this issue
  • New UI beyond what's needed to observe workflow status

Acceptance Criteria

  • Workflow completes successfully on the happy-path fixture
  • Workflow retries/handles at least one designed failure case
  • Execution is observable via logs/traces
  • Tests pass in CI

Technical Context

  • Relevant files: socialAuthController.ts, frontend/src/components/SocialIdentityManager.tsx
  • New surface area: this is part of the Mastra AI integration (greenfield) — coordinate with whichever foundation/infra issues (agent runtime bootstrap, tool registry, auth scoping) have landed so far

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    architectureIssue related to architecturebackendBackend developmentenhancementNew feature or requestmediumModerate tasks

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions