# 5️⃣ **Frontend Integration (Minimal)** * ✅ On wallet connect: * Run the full flow: * Prompt to sign message * Call `/api/auth/callback/credentials` * Receive session token * ✅ Use `useSession()` from `next-auth/react` to get logged-in user anywhere. ---
5️⃣ Frontend Integration (Minimal)
✅ On wallet connect:
Run the full flow:
/api/auth/callback/credentials✅ Use
useSession()fromnext-auth/reactto get logged-in user anywhere.