@User I am a little confused about lesson "23: Create a Client Page that Requires Authentication in Next.js Using getServerSideProps"
chipilov
12/10/2021, 9:05 AM
If you already have access to the useUser() hook in the Dashboard page, and useUser() tells you whether you have an authenticated user or not - why do you need to verify the user is authenticated on the server by calling getServerSideProps()?