Skip to content

fix(oauth): the consent page says to scan the QR code or open the link - #30

Merged
frahlg merged 2 commits into
mainfrom
claude/offer-link-straight
Oct 17, 2026
Merged

frahlg merged 2 commits into
mainfrom
claude/offer-link-straight

Conversation

@frahlg

@frahlg frahlg commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Problem

The FTW app now goes straight from the consent page's link or QR code to the review screen (srcfl/ftw-app#84). Typing the code is only for an owner who has neither. The page still read as if the code were part of every path.

Change

internal/oauth/page.go, building on #25:

  • "Approve in the FTW app: scan the QR code with your phone's camera, or tap the button on your phone." (was "scan the code", which could mean either code; a desktop browser cannot open the app link, so the page names the button and the phone)
  • "Can't do either? Type this code in the FTW app under Settings → Assistants and support → Add an assistant, or on your box's own page under Settings → Access." (the app's own labels)

TestTheConsentPage checks the new words. No other change: the offer, the code lookup and the link are as they were.

Evidence

go vet ./internal/oauth/ and go test -race ./internal/oauth/ pass. The page as the test rig serves it, in headless Chrome:

Nothing deployed.

Paired

🤖 Generated with Claude Code

The FTW app now goes straight to review from the link or the QR code, so
the page leads with those. The code is for an owner who can do neither,
in the FTW app or on the box's own page under Settings, then Access.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-17T08:30:15.266557Z f2822a3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

"Open the link" pointed at a button labelled Open the FTW app, which a
desktop browser cannot open. The page now says to scan with the phone's
camera or tap the button on the phone, and names where to type the code:
Settings → Assistants and support → Add an assistant in the app, Settings
→ Access on the box's own page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@frahlg
frahlg merged commit eb4d68f into main Oct 17, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant