Events

onAuthFlowOpen

This callback will be called after the auth flow modal is opened.

Usage

<SophonContextProvider
  settings={{
    events: {
      onAuthFlowOpen: () => {
        console.log("onAuthFlowOpen was called");
      },
    },
  }}
>
  {/* ... rest of your app ... */}
</SophonContextProvider>