Skip to content

dak-setup: warn before ADC login that every consent checkbox (incl. Google Cloud) must be ticked #512

Open

Description

@RolandMatte240

Pre-reqs

What are you trying to do that currently feels hard or impossible?

Setting up the plugin with the dak-setup skill on Windows, Step 2 ran gcloud auth application-default login with no prior guidance about the consent screen.

Google's consent page lists the requested permissions as separate checkboxes. The Google Cloud one was left unticked, and the login then failed with: "https://www.googleapis.com/auth/cloud-platform scope is required but not consented".

Nothing in the error points back to the checkbox, so the user can't easily connect the failure to what they clicked. A second attempt with every checkbox ticked succeeded and the skill's ADC check then returned ADC_OK.

On the successful login gcloud also printed a warning that no quota project is set. The skill doesn't say whether that matters for DAK, so it reads like another failure.

Suggested Solution(s)

In skills/dak-setup/SKILL.md, Step 2 (lines 36-46 at 6f4818a):

  1. In the sentence before the login command ("tell the user you're going to open a browser sign-in flow"), add: tell the user the consent page shows each permission as its own checkbox and to tick all of them, in particular the Google Cloud (cloud-platform) one.

  2. Under "Notes for this command", add a failure note: if the error says the cloud-platform scope "is required but not consented", the checkbox was left unticked; re-run the login and tick every box.

  3. Also under the notes, say whether the "no quota project" warning needs action for DAK. If not, say it can be ignored at this stage; if it does, point to gcloud auth application-default set-quota-project <PROJECT_ID> once the project ID is collected in Step 3.

Additional Details

Observed once, on Windows, with the plugin at 1.0.0 (installed from the Claude plugin marketplace), running gcloud auth application-default login with a browser. Not reproduced on other platforms or with --no-launch-browser.

skills/dak-setup/SKILL.md at HEAD (6f4818a) matches 1.0.0 apart from line endings and has no consent or quota guidance.

Searched existing issues and PRs for consent, cloud-platform, application-default, quota, dak-setup and ADC; nothing covers this. PR #319 (quota header for the IDE MCP config) is related to quota but not to this login warning.

Activity

  1. belluru commented on Oct 30, 2026

    @belluru
    Collaborator

    @RolandMatte240 thanks for the detailed report!

    Could you attach a screenshot of the consent screen you saw (with the checkboxes) and the error message? It'd also help to know whether you signed in with a personal Google account or a Google Workspace account. That'll help us route this to the right people.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions