Summary
Google OAuth authentication succeeds but does not persist provider connection metadata in the same way as other integrations.
As a result, downstream functionality relying on provider connection state cannot consistently identify Google-linked accounts.
Affected Files
Root Cause
The Google login flow authenticates users successfully but does not persist equivalent provider metadata expected by downstream integration logic.
This creates inconsistencies between provider types.
Reproduction
- Authenticate using Google OAuth.
- Inspect provider connection records.
- Compare with GitHub-connected accounts.
- Observe missing or inconsistent connection state.
Expected Behavior
All OAuth providers should persist equivalent integration metadata.
Actual Behavior
Google-authenticated users can lack expected provider linkage information.
Why This Is Difficult To Detect
Authentication itself succeeds.
The issue only appears when integration-aware features are exercised.
Production Impact
- Inconsistent provider behavior
- Broken downstream features
- Integration confusion
- Hard-to-debug account state
Suggested Fix
Persist provider metadata consistently across all OAuth providers.
Severity
Medium-High
Summary
Google OAuth authentication succeeds but does not persist provider connection metadata in the same way as other integrations.
As a result, downstream functionality relying on provider connection state cannot consistently identify Google-linked accounts.
Affected Files
Root Cause
The Google login flow authenticates users successfully but does not persist equivalent provider metadata expected by downstream integration logic.
This creates inconsistencies between provider types.
Reproduction
Expected Behavior
All OAuth providers should persist equivalent integration metadata.
Actual Behavior
Google-authenticated users can lack expected provider linkage information.
Why This Is Difficult To Detect
Authentication itself succeeds.
The issue only appears when integration-aware features are exercised.
Production Impact
Suggested Fix
Persist provider metadata consistently across all OAuth providers.
Severity
Medium-High