Stytch · Arazzo Workflow
Stytch B2B Discovery Intermediate Session Exchange
Version 1.0.0
Authenticate a discovery magic link, list discovered organizations, then exchange into one.
View Spec
View on GitHub
AuthenticationIdentityPasswordlessSecurityB2BConnected AppsMCPAI AgentsDeveloper ToolsArazzoWorkflows
Provider
Workflows
discovery-intermediate-exchange
Authenticate discovery link, then exchange the intermediate session into an organization.
Exchanges a discovery magic link token for an intermediate session and the list of discovered organizations, then exchanges that intermediate session into the chosen organization for a full member session.
1
authenticateDiscovery
api_b2b_magic_v1_b2b_magic_links_discovery_Authenticate
Authenticate the discovery magic link token to obtain an intermediate session token and the organizations the email already belongs to.
2
exchangeIntoOrg
api_discovery_v1_discovery_intermediate_sessions_Exchange
Exchange the intermediate session token into the chosen organization to mint a full member session.