Skip to content

grey out google in the catalog when the server has no google client - #84

Merged
hkonsti merged 2 commits into
hkonsti/google-4-docsfrom
hkonsti/google-5-unconfigured
Oct 15, 2026
Merged

hkonsti merged 2 commits into
hkonsti/google-4-docsfrom
hkonsti/google-5-unconfigured

Conversation

@hkonsti

@hkonsti hkonsti commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

The catalog now greys out an integration whose need the server doesn't meet, with a hint naming the environment variables and linking the docs; for now that is Google without GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET. The web's Integration gets a needs marker, and the add-connection and welcome loaders fetch /auth/methods beside the connections, since Google sign-in and Google connections share the client. A sign-in started anyway (by URL) now comes back with ?error=google-unconfigured, which the catalog shows as the same sentence, while ?error=google stays for a sign-in that failed.

Stack: self-hoster surface 2 of 2, on #83.


Open workspace in Conductor

@hkonsti
hkonsti added this pull request to stack #88 October 13, 2026 21:06
@hkonsti
hkonsti force-pushed the hkonsti/google-5-unconfigured branch from 2ac062e to 73badbc Compare October 13, 2026 21:36
@hkonsti
hkonsti force-pushed the hkonsti/google-5-unconfigured branch 2 times, most recently from 9788ba5 to 6b04310 Compare October 14, 2026 17:29
@hkonsti
hkonsti force-pushed the hkonsti/google-5-unconfigured branch from 6b04310 to 57161f3 Compare October 14, 2026 18:14
… start route checks it, and drop a stale unconfigured error once the server has the client
@hkonsti
hkonsti force-pushed the hkonsti/google-5-unconfigured branch from 57161f3 to 63f870b Compare October 15, 2026 00:20
@hkonsti
hkonsti merged commit 16bff36 into main Oct 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant