W
Wasp-lang•3mo ago
jaan

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
miho
miho•3mo ago
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.
jaan
jaan•3mo ago
Ooooh useAuth that's exactly what I'm looking for. thanks!
MEE6
MEE6•3mo ago
Wohooo @jaan, you just became a Waspeteer level 1!