MonoCloud Authentication SDK
    Preparing search index...
    • <SignUp> renders a link that initiates the MonoCloud sign-up flow.

      It works in both App Router and Pages Router, and may be rendered from either Server or Client Components.

      Internally, it behaves like <SignIn> but sets prompt=create to start the registration flow.

      Parameters

      • props: SignUpProps & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "resource">

        Properties for the SignUp component.

      Returns ReactNode

      An anchor element that links to the sign-in endpoint with the prompt set to 'create'.

      import { SignUp } from "@monocloud/auth-nextjs/components";

      export default function Home() {
      return <SignUp>Sign Up</SignUp>;
      }

      You can customize the authorization request by passing in props.

      import { SignUp } from "@monocloud/auth-nextjs/components";

      export default function Home() {
      return (
      <SignUp
      returnUrl="/dashboard"
      uiLocales="en"
      >
      Sign Up
      </SignUp>
      );
      }