Skip to content

How to check authenticated user in client components #63

Answered by iamtouha
ringge asked this question in Q&A
Discussion options

You must be logged in to vote

hi @ringge , you can call validateRequest in server component only. and then you can receive the user object as prop in the client component.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ringge
Comment options

Answer selected by ringge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants