Skip to content

void platform install --app-access public fails when Cloudflare reports Access is disabled #835

Closed

Description

@max-voloshyn

Affected version
Void CLI 1.9.1

Steps to reproduce

  1. Start a fresh install in a Cloudflare account where Access is disabled. Set CLOUDFLARE_API_TOKEN to an installer token with the usual install permissions and account-level Access: Organizations, Identity Providers, and Groups Read. Leave VOID_PLATFORM_APP_ACCESS_TOKEN and appAccess.tokenEnv unset.

  2. Use a platform login method that does not rely on Cloudflare Access. Run the following in a non-interactive shell with the rest of your installation settings. --no-access-protection disables Access protection for the platform itself, so the reproduction reaches the separate check for deployed apps.

    void platform install --app-access public --no-access-protection --yes

Actual behavior

The install stops while checking whether the account enforces Access Default-Deny.

platform: App access requires VOID_PLATFORM_APP_ACCESS_TOKEN or appAccess.tokenEnv in --auth-config, scoped to the hosting account.

A separate request to GET /accounts/{account_id}/access/organizations with the account-level read permission returned HTTP 403 with access.api.error.not_enabled: Access is not enabled. The 1.9.1 installer sends that response through the same credential flow as other 403 responses. In an interactive install, that flow prompts for an App Access API token. Void CLI 1.9.1 source

Expected behavior

When --app-access public is selected and Cloudflare explicitly reports that Access is disabled, the installer should continue with public app setup without requesting a separate App Access token or creating Access policies. Other authorization failures and accounts with Default-Deny enabled should continue through the existing checks.

Activity

  1. changed the title [-]void platform install --app-access public fails when Cloudflare reports Access is disabled[/-] [+]`void platform install --app-access public` fails when Cloudflare reports Access is disabled[/+] on Nov 15, 2026
  2. max-voloshyn commented on Nov 15, 2026

    @max-voloshyn
    ContributorAuthor

    I opened #838 to let void platform install --app-access public continue when Cloudflare explicitly reports that Access is disabled. The PR includes regression tests for the disabled-Access response and an ordinary 403.

  3. added a commit that references this issue on Nov 16, 2026
    354614e
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

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions