How to check if logged in on client/frontend?
Hi there, maybe this is a question with an obvious answer in the docs, if so then i am sorry.
But I am currently wondering if there is a way / a function to check if you are currently logged in on the frontend?
3 Replies
I'd recommend starting here 🙂 https://wasp-lang.dev/docs/auth/overview
Overview | Wasp
Auth is an essential piece of any serious application. That's why Wasp provides authentication and authorization support out of the box.
Ooooh
useAuth
that's exactly what I'm looking for. thanks!Wohooo @jaan, you just became a Waspeteer level 1!