Skip to content

/setup/ guide diverges from the actual Marketplace/OAuth flow (found during first real run) #6

Open

Description

@t11z

Context

First end-to-end run of https://unpassword.nullthrone.xyz/setup/ (Cloud project nullthrone-unpassword, publishing to the Google Workspace Marketplace). The steps below deviated from the guide or are missing from it.

Deviations and gaps

  1. Old domain in the setup table. The Branding table still listed nullthrone.github.io. Correct values: home https://unpassword.nullthrone.xyz/, privacy /privacy/, terms /terms/, authorized domain nullthrone.xyz.
  2. Support email. The guide asks for github@nullthrone.xyz, but the Branding dropdown only offers the signed-in Google account or a Google Group managed by that account. With mail hosted outside Google this address cannot be selected. Document the workaround (own Gmail temporarily, or a Google Group) or use a different field.
  3. Custom domain / HTTPS. GitHub Pages served the wrong certificate until the DNS check completed. Missing in the guide: CNAME unpassword to nullthrone.github.io, GitHub domain-verification TXT, wait for the certificate, then enable "Enforce HTTPS".
  4. Search Console domain verification is a prerequisite for the authorized domain (DNS TXT on @). Not mentioned. The first verification attempt fails until the TXT record has propagated. The record must stay in place permanently.
  5. Repo variables. GOOGLE_APP_ID (= project number), GOOGLE_CLIENT_ID, GOOGLE_API_KEY must be set as Actions variables before a tag deploy. The guide should state that the bundle only picks them up on a new build and give a check (grep the deployed assets/index-*.js). The API key needs Picker API plus HTTP referrer https://unpassword.nullthrone.xyz/* restrictions.
  6. Gmail add-on deployment: manifest not pushed (largest gap). After clasp set-up, the Apps Script project only contained the default appsscript.json (no oauthScopes, no addOns.gmail). Marketplace SDK then fails with "No host applications found for the deployment ID". Required: push gmail-addon/appsscript.json, create a new version, and create a new deployment of type "Add-on". Updating an existing library-type deployment to a new version does not help; the ID keeps being rejected. The Add-on-type deployment produced a new ID that works. Also document: Apps Script project must be bound to the same GCP project number as GOOGLE_APP_ID (Project settings → GCP project), and .clasp.json.example / clasp deploy need to be described accordingly (clasp deploy creates a library-style deployment unless the add-on type is chosen in the UI).
  7. Marketplace "Save Draft" error "Google Drive SDK must be enabled." The Drive UI Integration page (Drive API → Drive UI Integration tab) must be configured and submitted before the Marketplace App Configuration can be saved. The guide lists Drive settings under the Marketplace step only. Order should be: Drive UI Integration, then Marketplace App Configuration. Note that the Drive form requires 256/128/64/32/16 px application icons, while brand/ only ships 128/96/48/32. Add icon-256.png, icon-64.png, icon-16.png to render-brand-assets.mjs (they were derived from the 128 px icon for now; the 256 px one is upscaled).
  8. Trader status (EEA) is a required field in the Marketplace Developer Information; it is not covered. Choosing "Trader" additionally requires a mailing address.
  9. Marketplace config UI quirks worth a note: unticking/re-selecting fields resets sections; the draft only saves once Workspace add-on, Apps Script deployment ID, scopes, trader status and developer email are all valid; the Store Listing additionally requires "All Regions" (or a region list), pricing and category. Category used: Utilities (the guide says "Productivity / Utilities", but the dropdown has no "Productivity").
  10. Order of OAuth publishing vs. verification. "Push to production" (Audience) can be done before the verification request; the sensitive scope gmail.addons.current.message.readonly then triggers the verification requirement (100-user cap until approved). The guide should state the order: configure Branding/Data Access, push to production, submit verification (demo video, scope justification), then submit the Marketplace listing.
  11. Short description length. The guide says "≤ 200 characters" in one place and shows 168 characters in another; make this consistent (Marketplace limit is applied to the 168-char text used).

Proposed fixes

  • Update /setup/ and the corresponding docs source with the corrected order: domain/DNS/Search Console, Cloud project and branding, repo variables, Apps Script manifest + Add-on deployment, Drive UI Integration, Marketplace App Configuration, Store Listing, OAuth verification.
  • Add the missing icon sizes to the brand asset script.
  • Add a short troubleshooting table with the two error messages above ("No host applications found for the deployment ID", "Google Drive SDK must be enabled.").
  • Add a pre-flight checklist (domain verified, HTTPS enforced, repo variables set, manifest pushed, Add-on deployment ID, Drive UI configured).
  • Related: open PR Add docs drift prevention and docs-triggered Pages deployment #3 (docs drift) should be reviewed together with this.

Status at time of writing

Done: Branding, scopes, credentials, repo variables, domain verification, push to production, Drive UI Integration, Marketplace App Configuration (saved), Store Listing (draft saved).
Open: OAuth verification (demo video), submit Marketplace listing for review, support email replacement, Marketplace link on the landing page after approval.

Activity

  1. added
    documentation
    on Oct 7, 2026
  2. added theissue type on Oct 7, 2026
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

    documentation

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions