Signature
Options
redirect navigates to the hosted flow and back. iframe embeds it.Iframe only. Drawer overlays the page; inline mounts into
container.init() instead.
iframe works only from an origin registered with us. From any other origin the browser refuses the
frame and the promise never settles. See
Register your embedding origin.Returns
Errors
Rejects when opening the session fails, with an ordinaryError today; read err.message. Never throws synchronously. Dismiss is not an error. See Errors.