Slack OAuth fails because redirect URI is not registered
Craft Agents Version
0.13.3
Operating System
macOS (Apple Silicon)
OS Version
macOS 26 (Darwin 25.0.0), Apple Silicon
AI Provider
OpenAI / Codex
Model
GPT-5.6 Sol via OpenAI Codex
Description
Connecting a native Slack API source through the built-in “Sign in with Slack” OAuth flow fails before consent because Slack rejects Craft Agents’ redirect URI.Slack reports:redirect_uri did not match any configured URIs. Passed URI: https://thecraftagents.com/auth/callbackThis blocks account-based Slack authentication. The user does not want to create a separate Slack app or use a manually managed API token.
Steps to Reproduce
- Create a source with
type: "api",provider: "slack",api.baseUrl: "https://slack.com/api/", andapi.authType: "oauth".2. Validate the source and triggersource_slack_oauth_trigger.3. Click the Slack sign-in action and select a Slack workspace/account.4. Observe Slack’s redirect URI error before authorization completes.
Expected Behavior
The built-in Slack OAuth flow should open Slack’s consent screen, allow the user to authorize their account/workspace, return through Craft Agents’ callback, and activate the Slack source without requiring the user to create their own Slack app or paste a token.
Actual Behavior
Slack rejects the request with:redirect_uri did not match any configured URIs. Passed URI: https://thecraftagents.com/auth/callbackThe source remains inactive with needs auth. Retrying produces the same result.
Screenshots / Screen Recordings
No response
Debug Logs
Additional Context
The installed release is the latest available version at the time of reporting (v0.13.3). The packaged OAuth relay uses https://thecraftagents.com/auth/callback for UI-started provider OAuth flows. No existing issue matching this exact Slack error was found.Related but not equivalent: #585 covered a Google OAuth redirect mismatch and is already closed. This report is specifically for the built-in Slack OAuth client/redirect registration.
Source: craft-ai-agents/craft-agents-oss