ComponentsButton Sign-in

A simple button to sign-in/sign-up users with our providers (Google & Magic Links).

It automatically redirects user to callbackUrl (config.auth.callbackUrl) after login, which is normally a private page for users to manage their accounts.

If the user is already logged in, it will show their profile picture & redirect them to callbackUrl immediately.

A Button Sign-in component for ShipFast boilerplate


1import ButtonSignin from "@/components/ButtonSignin";

Updated on: Saturday, October 21, 2023

Looking for UI-only components like buttons, inputs, etc? It's all available with daisyUI. See this guide for more info.