Hello, I face a big problem with Appwrite Auth that I never face before.
It's very simple, the most basic auth process just don't work
TypeScript
final client = Client().setEndpoint("https://fra.cloud.appwrite.io/v1").setProject("<P_ID>");
final account = Account(client);
account.createEmailPasswordSession(email: "jane.smith@mail.com", password: "*Azertyui1").then(
(session) => {
print("SESSION: ${session.toMap()}"),
account.get().then(
(user) => {
print("USER: ${user.toMap()}"),
},
),
},
);
The session is well created (I've check in the web console), but the user part throw an unauthorized issue.
I've try the exact same process in Postman and it work fine
I'm on the last Flutter Appwrite SDK : 15.0.2
Any idea ? Thanks by advance
TL;DR
Issue: Developer experiencing a 401 general_unauthorized_scope error with Appwrite Auth when trying to authenticate user using Flutter SDK.
Solution: This issue might be occurring due to incorrect scope settings. Check and ensure proper scope configurations in your Appwrite authentication process.