Repository navigation
Log in through the connector proxy, relist Playtomic, offer catalog matches for known base URLs - #1127
Merged
Conversation
6 tasks done
…atches A LOGIN_TOKEN login now goes through the connector proxy when the tool call it serves is proxied. Playtomic answers logins from datacenter IPs with a 403 page, so its proxied tools never got a token; through the proxy the login and club search answer 200 again (checked from the Cloud droplet). Both Playtomic adapters are listed again. The custom connector form asks /api/adapters/match-url with the base URL the user types and offers the ready-made catalog connector for that API. Users built Printify, Fatture in Cloud, Pinterest, Yandex Disk, Etsy and Telegram connectors by hand this month while the catalog had them.
helpcodeai
force-pushed
the
feat/playtomic-proxy-login-catalog-match
branch
from
October 18, 2026 21:03
d5c27f7 to
e6633a7
Compare
helpcodeai
enabled auto-merge (squash)
October 19, 2026 07:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two fixes for connectors people want but can't find or can't use.
Playtomic is usable again. Playtomic answers logins from datacenter IPs with a 403 HTML page, which is why both adapters were unlisted in #1042. Their tools already had
useProxy: true, but theLOGIN_TOKENlogin went out directly, so it never got a token. Now the login goes through the connector proxy whenever the tool call it serves is proxied. 8 marketplace searches for "playtomic" in the last 14 days found nothing.The custom connector form offers the catalog connector. This month users built by hand connectors the catalog already had: Fatture in Cloud, Printify, Printful, Pinterest, Yandex Disk, Etsy and Telegram. The form now sends the typed base URL to
GET /api/adapters/match-url. When a listed adapter serves that API, the form shows it with its tool count and a "Set it up instead" link to the guided setup.Changes
Login through the proxy
LoginTokenService.getTokenandforceRelogintake{ proxyUrl }. The REST and GraphQL engines pass the call's proxy, and the login (including a salt fetch) uses the same unblocker agent as the tool call.Playtomic
playtomicandplaytomic-publicloseunlisted.docs/connectors/proxy.mddocuments the proxied login.Catalog match for a base URL
catalog-url-match.ts: it matches by host, withoutwww.{{SHOP}}.myshopify.com) matches any value as long as a fixed domain is left. A host that is only a variable ({{ODOO_URL}}) never matches.AdaptersService.matchByUrlcovers listed adapters only, through the same installability filter as the catalog.GET /api/adapters/match-url?url=requires a JWT.Counts: 475 → 477 adapters (
adapter-count --check).Cloud and self-hosted: both behave the same. Proxied login only happens where
CONNECTOR_PROXY_URLis set and the tool opted in; on Cloud, the workspace proxy quota still counts tool calls only. The URL match uses each deployment's own installable catalog.Type
Testing
Commands run in
packages/backendunless noted:npx tsc --noEmit -p tsconfig.json: exit 0.npx jest: 660 suites passed, 4 skipped, 1 failed.database.engine.hana.spec.tswith "Cannot find module 'hdb'". Thehdbmodule is missing from my localnode_modules; this is unrelated to the change.login-token.service.spec.ts: the login and the salt fetch go through the proxy agent withproxy: false, and a call without a proxy logs in directly.catalog-url-match.spec.ts: 17 tests, including the base URLs users actually typed checked against the real catalog.npx eslinton the changed backend files: clean.node scripts/validate-adapters.mjs --warn: exit 0, warnings identical toorigin/main.node scripts/adapter-count.mjs --check: OK, 477 adapters (20 keyless, 7,183 tools).node scripts/regenerate-catalog.mjs:catalog.tsunchanged.packages/frontend:npx tsc --noEmit: exit 0.npx eslinton the changed files: clean.npx playwright test tests/e2e/catalog-url-match.spec.ts: 1 passed. An unknown URL shows no offer;api.printify.com/v1shows Printify with a link to/connectors/setup/printify.access_token;GET /v1/tenantsthrough the proxy: 200, 3 clubs.Checklist
Related Issues
Relates to #1042, which unlisted Playtomic.