Skip to content

Switch to using provider-specific classes, when available#23

Merged
byrro merged 4 commits intomainfrom
renato/use-auth-provider-classes
Jan 5, 2026
Merged

Switch to using provider-specific classes, when available#23
byrro merged 4 commits intomainfrom
renato/use-auth-provider-classes

Conversation

@byrro
Copy link
Member

@byrro byrro commented Jan 5, 2026

It turns out that the OAuth2 class does not work when the provider has an Arcade well-known configuration and the user creates a custom OAuth provider. In order to work with well-known providers and custom OAuth providers, we must use the provider-specific class (e.g. auth.Slack), instead of OAuth2(id="arcade-slack").

This PR updates the current starter tools with an OAuth provider that has a specific class in Arcade's auth module. The remaining tools that have OAuth requirement but no specific class available, we changed the id from arcade-{provider}to just {provider}.

@byrro byrro requested review from a team, jottakka and torresmateo January 5, 2026 16:56
@byrro byrro self-assigned this Jan 5, 2026
@byrro byrro added the bug Something isn't working label Jan 5, 2026
@byrro byrro marked this pull request as ready for review January 5, 2026 17:15
@byrro byrro merged commit ea17a72 into main Jan 5, 2026
86 checks passed
EricGustin added a commit that referenced this pull request Feb 16, 2026
…able"

PR #23 changed the Airtable provider_id from "arcade-airtable" to "airtable",
but there is no well-known Airtable auth class in arcade-core, causing
"unsupported authorization provider type ID 'airtable'" errors. This reverts
the provider_id change while bumping versions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
EricGustin added a commit that referenced this pull request Feb 16, 2026
## Summary
- PR #23 changed `provider_id` / `id` from `"arcade-{provider}"` to bare
`"{provider}"` for servers without a well-known auth class in
`arcade-core`. This causes `unsupported authorization provider type ID
'{provider}' / internal_error` when tools are called.
- Reverts the provider_id back to `"arcade-{provider}"` for **10
affected servers**: airtable, box, calendly, intercom, mailchimp, miro,
squareup, ticktick, xero, zoho (books + creator)
- Bumps package and wrapper tool metadata versions for all affected
servers
- Fixes a mypy `no-any-return` error in the toast_api auth helper

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants