openInBrowser
Signs the current user in on the web and opens destination in the user's default browser.
destination must be an absolute http or https URL. Every instance except a development instance requires https. A production instance also requires the host to be on one of the instance's domains.
Success means the browser was asked to open the URL, not that the user was signed in. When the sign-in is refused, the browser still lands on destination, with the query parameters __clerk_status=session_transfer_failed and __clerk_error_code. Check for them on the page.
Return
Success once the browser is asked to open the URL, or a failure. The failure has the code invalid_arguments when destination is not an absolute http or https URL, signed_out when there is no active session, which includes a pending session, session_changed when the active session changes before the browser opens the URL, and browser_unavailable when no browser can open the URL.
Parameters
The web URL to land on after the user is signed in.