'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
- Unable to change auth email "preview" me...
Unfortunately I have not been able to change the initial sentence in the auth emails with custom smtp added in Appwrite. They are not included in the editable t...
- Customize phone otp template
Hii..is there any way to customize phone otp template in 1.8 self hosted version? Also may i know where is the phone otp message template so that i can apply fo...
- Missing scope after OAuth login
I want to get the current user with account.get after an OAuth login like Google but I always GET https://cloud.appwrite.io/v1/account 401 (Unauthorized) User (...