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
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- Apple OAuth2 settings auto-disable every...
Hello, I'm on Appwrite 1.8.1 at the moment. I'm using on prod Apple Oauth and it keeps disabling itself every night. I don't know where to look for the solutio...
- Issue Related to Presence
```PresenceService: upsert error – AppwriteException: user_unauthorized, The current user is not authorized to perform the requested action. (401) ...