Features
- Plug-and-play component
- Customizable Theme
- In-built localisation
Plug and Play Modal
Developers who opt to use the plug-and-play modal will need to import, set up, and wrap their children’s components withFutureverseAuthUiProvider. It enables the Auth UI sign-in model to be shown. The modal exposes all the Web3 / Custodial Web2 options and handles connecting.
Example:
Customisation of the Auth UI is achievable through the Theme Config.
signInFlow in authClient
Developers who opt to use the Auth UI plug-and-play modal also must update the authClient configuration, which was previously shown in the FutureverseAuthClient section. The authClient must include a signInFlow parameter and 'popup' option as its value.
Example: