Rank 1: Thread
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?
Votes
0
Replies
5
Participants
Unknown
Messages
6
Rank 1: Thread
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?
Rank 1: Thread
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?
Rank 1: Thread
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?