Closed haseakito closed 10 months ago
Email and Password Auth
Google Auth
Facebook Auth
LoginForm.tsx
RegisterForm.tsx
Header.tsx
Breadcrumb.tsx
useSession
username
profileImage
session
null | undefined
user
profile
Description
Email and Password Auth
,Google Auth
, andFacebook Auth
with NextAuthLoginForm.tsx
,RegisterForm.tsx
,Header.tsx
andBreadcrumb.tsx
to useuseSession
to retrieveusername
andprofileImage
Issue
Email and Password Auth
does not returnsession
properlysession
object because it could possibly benull | undefined
TODO
Email and Password Auth
issueuser
andprofile
to force user to login first before they can access it