Fix Gemini OAuth onboarding failure - #8905
Merged
Merged
Conversation
…esponse The Code Assist API returns allowedTiers (not onboardTiers) for new users. Previously fell back to hardcoded 'FREE' tier ID which the API rejects. Also fix UI silently swallowing OAuth 400 errors and proceeding to model picker. Signed-off-by: Angie Jones <jones.angie@gmail.com>
michaelneale
approved these changes
Apr 29, 2026
DOsinga
pushed a commit
that referenced
this pull request
Apr 30, 2026
Pulls in 7 new commits from main: - #8932 break up acp/server.rs into submodules - #8924 custom providers UI/ACP - #8935 keep renamed skills open in detail view - #8897 skill refactor (CreateSkillDialog -> SkillEditor) - #8886 copy/content polish - #8905 Gemini OAuth fix - #8546 command injection patterns Conflicts resolved: - crates/goose/src/acp/server.rs: took main's split structure; added project-related plumbing (properties, project_id, include_project_sources) into crates/goose/src/acp/server/sources.rs. - update_thread_metadata: pub(super) so server/sessions.rs (which hosts on_update_session_project) can call it. - ui/goose2/src/features/skills/api/skills.ts: dropped directoryPath/editable (not on main's SkillInfo); kept our projectName/projectDir lookup from backend properties. - ui/goose2/src/features/skills/ui/SkillEditor.tsx (renamed from CreateSkillDialog.tsx in #8897): kept main's structure; re-added our save-location picker (Global vs each project) and onSaved callback. - ui/goose2/src/shared/i18n/locales/en/skills.json: took main's casing for editTitle/newTitle; kept our new keys (global, globalHint, projectHint, saveLocation). Bumped useChatSessionController.ts file-size limit by 10 lines (840 -> 850); justification updated to mention ACP project sync.
shafqatevo
pushed a commit
to shafqatevo/goose
that referenced
this pull request
Aug 7, 2026
Signed-off-by: Angie Jones <jones.angie@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When choosing Gemini as a new Provider, the oauth seems to succeed in the browser, but then when returning to goose, it's not configured or available in the drop down.
Root Cause
The Code Assist
loadCodeAssistAPI returnsallowedTiers(notonboardTiers) for new users. We were falling back to a hardcoded"FREE"tier ID that theonboardUserAPI rejects as an invalid argument.Fixes:
allowedTiersfromloadCodeAssistresponse, preferring the tier markedisDefault"FREE"to"free-tier"Before
After