Skip to content

AuthCombine container

The AuthCombine container renders a dialog that combines the sign-in, sign-up, and reset password forms. The user can switch between the forms using the provided links.

AuthCombine container

AuthCombine container

AuthCombine configurations

The AuthCombine container provides the following configuration options:

OptionsTypeReq?Description
defaultViewactiveComponentTypeNoSpecifies which form is the default.
signInFormConfigSignInFormPropsNoRenders the SignIn container.
signUpFormConfigSignUpFormPropsNoRenders the SignUp container.
resetPasswordFormConfigSignUpFormPropsNoRenders the ResetPassword container.

Example

The following example renders the AuthCombine container with the provided form configurations.

{
authRenderer.render(AuthCombine, {
signInFormConfig,
signUpFormConfig,
resetPasswordFormConfig,
})(signInForm);
};