Skip to content

Commit a54ae54

Browse files
kodotproclaude
andcommitted
docs: name the test-user requirement in the local rehearsal harness
While the consent screen is in Testing status Google refuses any account not listed as a test user, and it refuses BEFORE this server's consent page is reached — so the failure presents as a broken flow rather than a missing entry in a list. Said in both places the harness can say it: the missing-credentials hint, and the walkthrough printed once it is running. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent e782b94 commit a54ae54

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

scripts/try-oauth-local.mjs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,13 @@ Then run this script with the credentials in the environment:
6969
GSC_GOOGLE_CLIENT_ID=... GSC_GOOGLE_CLIENT_SECRET=... node scripts/try-oauth-local.mjs
7070
7171
You can add the loopback URI to the SAME client that serves production — a
72-
client may hold several redirect URIs, and Google permits http for localhost.`
72+
client may hold several redirect URIs, and Google permits http for localhost.
73+
74+
${bold("Also required:")} while the consent screen is in Testing status, the Google
75+
account you sign in with must be listed as a ${bold("test user")} on it. Without
76+
that, Google returns access_denied before this server's consent page is
77+
ever reached, and the failure looks like a bug in the flow rather than a
78+
missing entry in a list.`
7379
);
7480
}
7581

@@ -172,7 +178,9 @@ in this order:
172178
found in the audit; it should say the redirect is a recognised Claude
173179
address, with no red warning.
174180
2. ${bold("Google's sign-in and consent screen")}, asking only for read-only Search
175-
Console access plus your email.
181+
Console access plus your email. If you get ${bold("access_denied")} here, the
182+
account is not a listed test user on the consent screen — add it in
183+
Google Cloud Console; nothing is wrong with the server.
176184
3. Back to the client, connected.
177185
178186
Then ask it: ${bold('"list my Search Console properties"')} — and try a real question,

0 commit comments

Comments
 (0)