next-auth, supabase를 이은… clerk 라이브러리

공식문서

과정

Untitled

Untitled

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_bWFnbmV0aWMtZ29waGVyLTk0LmNsZXJrLmFjY291bnRzLmRldiQ
CLERK_SECRET_KEY=sk_test_CYqA8Bj82EQRLTj7K1Sm1n2IWHbnicZNNcQcTxj6y4

Clerk 패키지 설치하기

  1. Install @clerk/nextjs
  2. Mount <ClerkProvider />
  3. Provider로 감싸기