
Hello so im new to appwrite and newer to qwik. Ive spent the last 4 years developing in flutter and firebase. Decided I wanted to get away from firebase and to lean a new language at the same time. I choose appwrite because it seemed like its a lot easier and i love the open-ness. All this being said I just spent the last 4 hours trying to debug why i couldn't create a new user. WOW yeah turns out you do infact need to make sure when you pass the props they are in this order[ ID.unique(),user.email, user.password, user.name ]... yeah thats kina annoying but ok. I then got the log in button working... So progress. Long Intro sorry, just wanted to set my mind set. This leads me to my current issue. How do i detect if the user is logged in or not? Like i have a "side menu" and for example i want it to show a log in button if the user is not logged in but maybe a log out and a profiles button if they logged in? I looked this up online and I've seen several different answers but these all seem to be for React type website and Qwik is not react based. I looked it up on the YouTube but got SSR auth which maybe be it but I'm having a hard time implementing this.
NOTE: The Sign in form is shown with 3 images that file is 114 lines long.
Recommended threads
- Oauth2-Error 400Invalid `success` param:...
My code: > await new Account(client).createOAuth2Session(OAuthProvider.Google, 'https://www.mydomain.online/home', 'https://www.mydomain.online'); I ha...
- I don't know why i am getting this plan ...
I am getting this plan upgradation message while accessing the App write service to authorise and logiin and signUp new iuser fom my react website. in the porta...
- Issue with `listDocuments` when using qu...
Hello, Appwrite team! I'm having an issue with `listDocuments` when using query modifiers: **Environment:** - Self-hosted Appwrite (`Version 1.4.13`) installe...
