mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-04 22:32:12 +03:00
feat: migrate iFlow provider to Qoder AI (#660)
This commit is contained in:
@@ -434,7 +434,7 @@ export default function OAuthModal({
|
||||
}, [authData, exchangeTokens]);
|
||||
|
||||
// Fix #344: Detect when OAuth popup is closed without completing authorization
|
||||
// Some providers (like iFlow) redirect to their own chat UI instead of sending a callback,
|
||||
// Some providers (like Qoder) redirect to their own chat UI instead of sending a callback,
|
||||
// leaving the modal stuck at "Waiting for Authorization" forever.
|
||||
useEffect(() => {
|
||||
if (step !== "waiting" || isDeviceCode || !popupRef.current) return;
|
||||
@@ -535,7 +535,7 @@ export default function OAuthModal({
|
||||
Complete the authorization in the popup window.
|
||||
</p>
|
||||
<p className="text-xs text-text-muted mb-4 opacity-70">
|
||||
If the popup closes without redirecting back (e.g. iFlow), this dialog will
|
||||
If the popup closes without redirecting back (e.g. Qoder), this dialog will
|
||||
automatically switch to manual URL input mode.
|
||||
</p>
|
||||
<Button variant="ghost" onClick={() => setStep("input")}>
|
||||
|
||||
Reference in New Issue
Block a user