UNPKG

@inertiapixel/nextjs-auth

Version:

Authentication system for Next.js. Supports credentials and social login, JWT token management, and lifecycle hooks — designed to integrate with nodejs-auth for full-stack MERN apps.

12 lines (11 loc) 281 B
interface RedirectToSignInProps { redirectUrl?: string; } declare const RedirectToSignIn: ({ redirectUrl }: RedirectToSignInProps) => null; export default RedirectToSignIn; /** * ====Usage==== * <RedirectToSignIn /> * <RedirectToSignIn redirectUrl="/auth/signin" /> * */