How can I verify an email otp with an active session? With updateVerification I get the error that the code is not valid. It only works with createSession. But this function requires that there is no active session. Otherwise I get the error “Creation of a session is prohibited when a session is active”. However, if I have the following use case that the user has to log in first and then it is checked whether the email has already been verified, the flow does not work.
Similar question that is resolved is here: https://appwrite.io/threads/1241775761703305236 let me know if this helps, although this is the same error with react, not flutter.
Recommended threads
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...