[SOLVED]Sending verification email fails on Flutter macos but works fine on IOS
- 0
- Accounts
- Flutter
- Apple

Hi guys is there a way to make the password recovery and the account verification features work for flutter desktops. I tested on a ios simulator and I am able to receive the mail fine whereas when I trigger it from the desktop I get this exception AppwriteException: general_unauthorized_scope, User (role: guests) missing scope (account) (401)

Have you added your mac to the "platforms" in your appwrite console?

@Tomic R. yes i did ...i have all supported platforms in my appwrite instance. However what i did notice is that it is behaving like the session is not stored client side on macos. But it works fine in the ios simulator


for now i develop using the macos platform for responsive layout and so far i have only tested with it and the ios simulator thinking if it worked once it would work everywhere

uhh which are you talking about? password recovery or account verification? you shouldn't get this error on password recovery because that api is public. you could get this error when starting the account verification because you need a valid session

I am currently dealing with account verification. i dont know why for flutter macos it seems like there is no valid session while in the appwrite console the session is there.
Recommended threads
- Google OAuth2 Login Gets Stuck in Redire...
I'm facing an issue with the Google OAuth2 login flow on my Flutter Android app using the Appwrite SDK. After a successful sign-in with Google, the browser ente...
- I had a new error pop up today when test...
I've been working on my app, it worked fine previously but now I recieve Invalid Origin: Register your new client as a new iOS platform on your project console ...
- Facebook OAuth with Appwrite Cloud fails...
I’m integrating Facebook login in my Flutter app using Appwrite Cloud. Google OAuth works fine, but I’m stuck with Facebook. Here’s what happens: When I log i...
