Skip to content

Pages · Reference

Signin

Render the SDK’s sign-in form in an application-owned route.

Preview

Loading preview…

Loading preview…

Usage

tsx
import { Signin } from "@krak-stack/auth/signin/react";

export const Example = () => <Signin sso defaultRedirectTo="/" />;

Mount Signin on your /sign-in route. It shows the sign-in methods enabled for the project. Pass sso to offer organization SSO discovery and use defaultRedirectTo to set the fallback destination after sign-in.

See Auth pages for provider and route setup.