I'm developping in flutter/dart, I'm using email token to login to an existing user: _sessionToken = await account.createEmailToken(userId: app.ID.unique(), email: email); _session = await account.createSession(userId: _sessionToken.userId, secret: pin); Then, to set a new passwordI'm using: _currentUser = await account.updatePassword(password: newPassword, oldPassword: null); But I'm always getting an error: AppwriteException: user_invalid_credentials, Invalid credentials. Please check the email and password. (401) Is it supposed to work this way, if yes what I'm doing wrong, if no,, it means there is no way to recover an account using an e-mail token ?
Recommended threads
- How to disable appwrite/embedding from s...
Hi everyone! I'm currently running a self-hosted instance of Appwrite. For my current use case, I don't need the AI/embedding features, and I noticed the `app...
- Active Running Project Deletion Alert Em...
Hi , I received an email alert from Appwrite today stating “your project will be deleted within 14 days if no action is taken,” though I have been actively usin...
- Auth not working
guys my appwrite auth isnt working? oauth works (Sign in with google n discord) i have 2 websites deployed where do i get help when i do sign in with email and ...