Skip to main content
API Reference / modelence / client / resumeOAuthPopup
resumeOAuthPopup(options): boolean
Defined in: packages/modelence/src/auth/client/index.ts:538 Resume a popup sign-in after the opening page reloaded mid-flow. An embedded preview that refreshes while the popup is at the provider loses the in-memory listener that would receive the code. The verifier survives in sessionStorage, so pass the popup window back in on load to keep the flow alive.

Example

Parameters

Returns

boolean Whether a sign-in was pending and the handoff was re-armed.