Intercom: authenticate with an access token header - #6
Conversation
Co-Authored-By: Aidan Blum Levine <aidan@cognition.ai>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
Original prompt from Aidan
|
Summary
Intercom's hosted MCP (
https://mcp.intercom.com/mcp) has never connected via OAuth from Devin: its Dynamic Client Registration rejects our callback (400 invalid_redirect_uri— "Redirect URI https://api.devin.ai/mcp/oauth/callback is not in the allowlist", verified live). Aurl-only declaration is treated as OAuth-connectable, so users hit "Failed to start OAuth flow" every time.Declare the header Intercom's other supported auth mode uses, matching the
zapier/square/plaid/perplexity/corridorplugins:The credential value is the full header value,
Bearer <Intercom access token>(verified live: bearer accepted; bare token → 401). Nothing prependsBearer, same as the other${<PLUGIN>_AUTHORIZATION}plugins.python3 scripts/validate.py --fixpasses (170 entries). Re-do of usacognition/devin-marketplace#13, which landed in the wrong (unused) repo; the webapp pins this one (MARKETPLACE_REPOSITORY_URL). Companion webapp change for the legacy marketplace row: usacognition/devin-webapp#71745.Link to Devin session: https://staging.itsdev.in/sessions/3b9044c1d90c48c88784ffc924e9b913
Open in Devin Desktop: https://staging.itsdev.in/desktop/session/3b9044c1d90c48c88784ffc924e9b913?variant=devin-insiders
Requested by: @AidanBlumLevine
Note
Devin errored when opening this Pull Request as AidanBlumLevine.
As a fallback, Devin opened this PR as itself.
Devin Review