Claude sign-up returns to the authorization; Etsy adapter fixes; trial card limits - #819
Merged
Merged
Conversation
…l card reads its limits Sign-up from an AI client: since the Claude directory listing went live, 277 'Connect' clicks led to 97 sign-ups but only 21 completed authorizations. The 'Create an account' link on the MCP login page did not lead back: after verifying, the new user landed on the trial offer and the welcome wizard, and the connection stayed half done until they started over from Claude. - The link now carries redirect=/auth/login; the login page leaves Next with a full navigation for /auth/* targets and, when returning to an authorization, skips the trial card and goes straight back to Approve (trial is created by verification anyway). - The pending authorization lives 30 minutes instead of 10 (oauthSessionExpiresIn), long enough to create an account and verify. Etsy (12 installs in 10 days, most failing): etsy_get_listing 'includes' lists only what Etsy v3 accepts (Inventory/Shipping were refused); etsy_get_user_shops says where user_id comes from (minimum 1, '0' was sent); the public listings_active explains its paging cap and points to a new authenticated etsy_get_listings_by_shop (all states, Inventory/Shipping includes), all checked against Etsy's OpenAPI spec. Description/parameter changes reach installed connectors through the catalog reconciler; the new tool shows as an update. The 'Trial Activated' card read 'Up to 2 connectors' after the trial moved to 5/3; it now reads the limits from the licence. Tests: login.controller sign-up link (cloud/self-hosted), e2e 'Claude Connect' sign-up returns to /auth/login and off-site redirects are ignored; full backend suite (6321) and all 85 e2e pass.
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.
Post-deploy analysis follow-up (authorised by Matteo, 2 Oct).
redirect=/auth/login; after verification the user goes straight back to Approve (full navigation for/auth/*, trial card skipped). Pending authorization TTL 10 → 30 min (oauthSessionExpiresIn).includesfor get_listing,user_idguidance + minimum 1, public listings_active paging note, new authenticatedetsy_get_listings_by_shop. Safe changes reach installed connectors via the catalog reconciler.Tests: backend 6321, e2e 85 (new: Claude Connect sign-up returns to /auth/login; off-site redirect ignored).