Modern authentication platform with WebAuthn, passkeys, passwordless flows, beautiful pre-built UI components, and multi-tenant organization support.
The .env.local file requires NEXTPUBLICCLERKPUBLISHABLEKEY set to your publishable key starting with pktest, CLERKSECRETKEY set to your secret key starting with sktest, NEXTPUBLICCLERKSIGNINURL set to the sign-in route path, and NEXTPUBLICCLERKSIGNUPURL set to the sign-up route path.
In the app/layout.tsx file, import ClerkProvider from @clerk/nextjs. The RootLayout component wraps the html and body elements with ClerkProvider. The children prop is passed through the body element.
Специалист по современной аутентификации, охватывающий WebAuthn, ключи доступа, беспароль и красивые компоненты пользовательского интерфейса. Используйте при реализации современной аутентификации с отличным UX. Источник: modu-ai/moai-rank.