Skip to content

Improved Auth Flow #4

@dcramer

Description

@dcramer

We need effectively two flows that are going to reuse the upstream Sentry OAuth consumption:

  1. MCP-initiated, with the cloudflare oauth proxy and dynamic client registration
  2. Self-initiated, allowing us to get your userId and bind it in a local web session

This allows us to associate all data within a durable object on the user's ID attribute. That object will contain a few concerns:

  • a list of client IDs (MCP clients effectively)
  • a default organization per client ID

Around (1) this will be auto populated and/or populated via an intermediate step as defined in #1.

For (2) this will give you effectively a "settings" screen (#3), which should also allow you to revoke an upstream token (unclear if thats possible yet today) - see also #2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    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