Skip to content

Fly setup wizard: token advice should match Fly's Create Token + settings-dropdown flow; stop browsers offering to save tokens as passwords #3929

Done

Description

@integry

Two problems with the token step of the Fly setup wizard (src/flyLaunch/setupRuntimePage.ts), found in the 0.9.4 release-candidate test.

1. The scope advice reads like a token name the user cannot find

The Sprites step lists "Recommended scope: 1. Name prefix: propr-… 2. Max Sprites … 3. Expiry …". Users read the prefix as a name to type when creating the token, but Fly's Sprite tokens page has no name field: Create Token makes a bare, unrestricted token, and Fly's page says "Unrestricted by default. Use the settings dropdown to scope a token by name prefix, max sprites, or expiry."

Rewrite the guidance to match Fly's actual flow, step by step, one idea per line:

  1. On Fly's Sprite tokens page, click Create Token and copy it (Fly shows it once).
  2. Optional but recommended: in the token's settings dropdown, scope it: Name prefix propr-<id>- (this instance's Sprites), Max sprites 3 (or your plan's limit), and an expiry if you want one.
  3. Paste the token here.

Keep the exact prefix value copyable (code, no wrapping), and match the pool default (2 Sprites, logins can use one more; the Free Plan allows 3) so "Max sprites" advice agrees with what ProPR uses.

2. Chrome offers to save the token as a password

spritesToken and flyToken are <input type="password" autocomplete="off">. Chrome ignores autocomplete="off" on password fields and offers to save the token as a password for the instance's site, which is wrong (and could later autofill it elsewhere).

Make these secret fields that password managers leave alone: for example type="text" with autocomplete="off", autocapitalize="off", spellcheck="false", data-1p-ignore, data-lpignore="true", data-bwignore, masked with CSS (-webkit-text-security: disc) plus a show/hide toggle, or another approach that reliably stops the save prompt in Chrome, Firefox and Safari. Apply the same to every pasted-secret field in the wizard (the GitHub token fallback, flyToken) and the dashboard's credential/token inputs. Never echo the value back after submit.

Tests: the rendered fields are not type="password" (or otherwise carry the opt-outs), and the copy matches Fly's flow.

Activity

  1. propr-dev commented on Nov 30, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-6.2-sol model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-6.2-sol
    • Branch: 3929/gpt-6.2-sol-fly-setup-wizard-token-ad-20261130-1744-kj3
    • Base Branch: 3758-epic-runtime-abstraction-sc0
    • Worktree: issue-3929-20261130-1744-gpt-6.2-sol-kj3

    🔍 Track Task Execution

  2. integry commented on Dec 1, 2026

    @integry
    OwnerAuthor

    Done in #3930, which merged into the runtime epic; the epic merged into main with #3774 and ships in 0.9.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions