Filip Kajetaniak
04/03/2026, 10:14 AMDevRev
04/03/2026, 10:14 AMimport { Descope } from '@descope/react-sdk'
<Descope
projectId="__ProjectID__"
flowId="your-stepup-flow-id"
// Additional configuration for popup behavior
/>
Additional Configuration
The exact popup configuration depends on your specific flow setup. You'll need to configure this in your Descope Flow editor where you can specify how the SSO action should behave during step-up authentication.
Further Resources
For detailed implementation, refer to the SSO with Flows documentation and the React SDK documentation for specific configuration options.Akash Jivane
04/03/2026, 10:22 AMX-Frame-Options and Content-Security-Policy headers as a security measure. This is an IdP-level restriction, not a Descope limitation, so there's no reliable way to force the IdP login page into an iframe.Filip Kajetaniak
04/03/2026, 10:24 AMAkash Jivane
04/03/2026, 10:25 AM<Descope> flow component inside a modal/dialog in your React app
2. When the SSO action triggers, it will redirect within that context (same tab or new tab depending on your setup)
3. Alternatively, use window.open() to launch the step-up flow URL in a controlled popup window and listen for a postMessage callback when auth completes.
Just let me know if this workaround suites for your current setup.Akash Jivane
04/03/2026, 10:26 AMFilip Kajetaniak
04/03/2026, 10:27 AMAkash Jivane
04/03/2026, 10:28 AM