You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(platform): Connector OAuth settings mislabel failed cloud-import app reads as Not configured #3893
Scope: isolated local component probe; no production network or writes.
Reproduction
Open the organization-admin OAuth apps card and let cloud_import/queries:getOauthAppStatus settle with data: undefined, isLoading: false, and a 503 for the OneDrive/Google Drive status reads. The actual rows are labelled Not configured and still offer Configure actions. There is no error, unavailable status, or Retry control. The isolated probe passed against source SHA 9ea59724df24d62729a9360f3902d964dab39b3e.
Root cause and impact
oauth-apps-card.tsx derives envConfigured from status.data?.source, so undefined/error collapses to false. The card handles only the separate app-list query's error; the cloud-import status errors are ignored. Administrators can mistake a transient backend failure for missing deployment configuration, overwrite a correctly configured app, or send users into unnecessary registration work.
Expected behavior is an unavailable status with Retry, and Configure should appear only after a successful response confirms configured: false. This is distinct from the user-facing Documents cloud-import connect dialog, which reports the same endpoint failure as an ordinary reauth action after a click; this finding covers the admin OAuth registry card.
Activity