'm using appwrite to try two phase login, step 1: await account.createAnonymousSession(); or final appwriteUser = await account.create( userId: ID.unique(), email: _testEmail, password: _testPassword, name: 'Test User' ); await account.createEmailPasswordSession(email: _testEmail, password: _testPassword); to create a trail user and autologin for limited trail purpose, if user want to upgrade account, I used await account.createOAuth2Session(provider: provider); to upgrade trail user to free/premium user, but I got two users and not linked with identities. Whats the wrong with me? I need to two step login with one user.
Recommended threads
- Update user email using OTP
Hi, I am trying to implement email update using OTP, there is not password associated with the account. One solution I found online is creating appwrite functio...
- Magic Link token automatically consumed
Hi, I'm using the Magic Link auth system with Appwrite Cloud and I'm running into huge issues getting users to log in successfully. About 9 times out of 10, th...
- RowList: The value of total is coming as...
RowList: The value of total is coming as a String, so it throws an error because it’s not parsed into an int. Error: TypeError: \"37\": type 'String' is not a ...