Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

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:

Options Type Req? Description
defaultViewactiveComponentTypeNo Specifies which form is the default.
signInFormConfigSignInFormPropsNo Renders the SignIn container.
signUpFormConfigSignUpFormPropsNo Renders the SignUp container.
resetPasswordFormConfigSignUpFormPropsNo Renders the ResetPassword container.

Example

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

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