For some reason when I try and sign up, it does add a new user but for some reason when I run checkUser it just doesn't work?
The error I get is:
Sign-up successful. Now signing in...
No session: User (role: guests) missing scope (account)
are you using the same AppwriteAuth instance across all your view models?
I see the same auth instance used in ContentView, AuthViewModel, and SignInView, but what about SignUpViewModel?
For the SignUpView/SignUpViewModel, I use NavigationLink("Sign up", destination: SignUpView(auth: auth)) so it's being passed down from the SignInView.
You said the user is created. Do you see the session created too?
Also, what version of the apple sdk do you have?
Recommended threads
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!
- One-time Cloud migration blocked by data...
Hi, I’m blocked on a one-time migration from Appwrite Cloud to my self-hosted Appwrite instance. We already fixed the region issue, and the migration now corre...
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...