fix: prevent auto-install for OAuth apps in installation flow#27567
Merged
anikdhabal merged 3 commits intomainfrom Feb 7, 2026
Merged
fix: prevent auto-install for OAuth apps in installation flow#27567anikdhabal merged 3 commits intomainfrom
anikdhabal merged 3 commits intomainfrom
Conversation
…on update - Fix Google Meet credential lookup in EventManager to properly map 'google:meet' to 'google_video' type - Add automatic credential ID resolution when selecting 'Organizer Default App' as location - Fixes 'Location update failed' error when editing round-robin team event location to organizer default app (Google Meet) with multiple Google Calendar connections Co-Authored-By: anik@cal.com <adhabal2002@gmail.com>
Contributor
|
I've analyzed the PR changes and here's a suggested PR description: SummaryThis PR fixes an issue with the app installation flow where OAuth apps were being auto-installed incorrectly. OAuth apps require user authentication before installation, so they should not bypass the accounts step. Changes1. App Installation Flow (
|
dhairyashiil
approved these changes
Feb 7, 2026
Contributor
E2E results are ready! |
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.
Problem
OAuth apps were being incorrectly auto-installed. This caused issues because:
key: {}objectsACCOUNTS_STEPto initiate the OAuth flow, not skip directly to event typesSolution
This PR fixes the OAuth app installation flow by:
!appMetadata.isOAuthcheck ingetCredential()to skip auto-install for OAuth appsgetInitialStep()to route OAuth apps toACCOUNTS_STEPwhen no step is provided, allowing users to initiate the OAuth flowinitialStepto prevent crashes