Repository navigation
fix(settings): spell out the Webflow site token steps above its field - #1593
Merged
Merged
Conversation
The token hint was one line under the field. It now lists the four steps in Webflow in order, above the field they end in (Site settings › Apps & Integrations › API access, a 4–80 character name, CMS Read and write and Sites Read-only with everything else on No access, Generate token), and says under the field that Webflow shows the token once and we store it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 27, 2026
gkhngyk
approved these changes
Oct 27, 2026
gkhngyk
left a comment
Contributor
There was a problem hiding this comment.
Looks good, with a follow-up.
What I checked:
- Own change. One commit on 5bbd162 (main):
TokenForminwebflow-card.tsx,en.jsonand one test. It merges as is. - Keys.
settings.webflow.tokenSteps(label,open,name,permissions,copy) andtokenNoteare inen.json, andTOKEN_STEPSreads exactly the four steps.tokenHintis gone, and nothing else inweb/ordocs/read it. - The steps against the code. The connector only lists sites, lists collections, reads a collection, reads an item, and creates or updates an item (
server/src/lib/cms/webflow.js).- So Sites read-only plus CMS read and write is all it needs.
- "Everything else on No access" doesn't break a send or the published check.
- Webflow's own screens aren't in the repo, so I took the token-name length and the button names as given.
- Accessibility.
- The steps are an
olnamed "How to get a site token", before the field in reading order. - The field's
aria-describedbynames the steps and the note, so a screen reader that tabs straight to the field still hears them. - The label still names the field (
htmlFor). - The text uses the same
text-xs text-muted-foregroundas the old hint.
- The steps are an
- No secret shown. The field stays
type="password"with autocomplete off, and it's cleared after a connect, as before. The steps and the note show no token. - Tests.
webflow-card.test.tsxpasses at the head (17). With main's card anden.json, the new test fails and the other 16 pass. CI's web job doesn't run web tests; its typecheck, lint and format pass. - Before the API deploy. Web only, and copy only, so nothing depends on the API. The steps show only where Webflow is set up, to admins and managers with no token, a refused token, or while replacing one.
Follow-up:
- One wording for the permissions (
web/messages/en.json:8015, anddocs/guides/send-to-cms.mdx:15in #1507).- The steps say "CMS to Read and write and Sites to Read-only".
- The error for a token without those permissions still says "Sites: Read and CMS: Read and write".
- #1507's docs say "Apps & integrations" and "Sites: Read".
- Use the steps' words in both, e.g. "The token needs CMS: Read and write and Sites: Read-only. Generate a new one with them." #1507 can repeat the card's four steps.
Merged
8 of 12 tasks
gkhngyk
pushed a commit
that referenced
this pull request
Oct 28, 2026
…ard's error and the docs (#1669) Follow-up from #1593. The Webflow card's steps say "set CMS to Read and write and Sites to Read-only". The error for a token without those permissions said "Sites: Read and CMS: Read and write", and the Send to CMS guide (#1507) said "Apps & integrations" and "Sites: Read". - The error reads "The token needs CMS: Read and write and Sites: Read-only. Generate a new one with them." - The guide's Connect Webflow step repeats the card's four steps, in the card's words: Site settings › Apps & Integrations › API access, the token name, the permissions, and that Webflow shows the token once. Co-authored-by: Cihan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Settings › Integrations › Webflow: the site token's steps, spelled out. The token hint was one line under the field. It now lists the four steps in Webflow, in order, above the field they end in. A note under the field says the token is shown once and kept.
The steps (
settings.webflow.tokenSteps), as Ansvisor asked for them:The note under the field (
settings.webflow.tokenNote): "Webflow shows the token only once. We store it securely and won't display it again."In
webflow-card.tsx(TokenForm):ollabelled "How to get a site token";aria-describedbynames both the steps and the note;tokenHintis gone (nothing else read it).Written by a side session at the user's request, and handed over for the checks, the browser check and this PR.
Related issue
None. A copy fix asked for by Ansvisor, following Send to CMS's Webflow connection (#1331, #1503).
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
cd web && yarn vitest run src/components/settings/webflow-card.test.tsx: the steps are in order, above the field, and the field is described by them and the note.Checked in the browser at 1024 px, light and dark. This server has no Webflow set up, so the card's read was stubbed in the page as "set up, not connected" to show the token form. There, the four numbered steps sit above the field, with the note under it, and nothing scrolls sideways.
Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/)yarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)Also run in
web/:yarn format,yarn lint(0 errors),yarn typecheck,yarn test(4,139 tests) andyarn build.Left as it is, since it wasn't asked for:
settings.webflow.errors.missing_scopesstill says "Sites: Read", where the steps now use Webflow's own "Read-only". It's the same permission. The Webflow docs in #1507 may want the same wording once both merge.🤖 Generated with Claude Code