ProviderStep allows proceeding with OAuth providers before authentication is complete #7
Labels
No labels
blocked:lint-failed
blocked:needs-decision
blocked:no-changes
blocked:verify-failed
bug
feature-request
quickfix
security/high
security/medium
test-coverage
triage-approved
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/GSD2_agent#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Medium
File:
src/components/wizard/ProviderStep.tsxlines 25-29Issue: The validation logic for enabling the "Next" button is:
The condition
isOAuthProviderevaluates totruesimply because the selected provider supports OAuth (e.g., Anthropic, Google, GitHub Copilot). The user can click "Next" without:This means the user can proceed to the Models step with no valid authentication credential, and the LLM calls will fail downstream.
Fix: Either:
state.useOAuth === trueinstead of justisOAuthProvider