
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
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
Recommended threads
- No mails from Appwrite
Hello, Since severals days, i have a problem : i d'ont received any mails from Appwrite. I'm using the auth by mail and i don't any code so any mails from App...
- wrong code for google oauth2 ?
gives User (role: guests) missing scope (account) error
- Issue in saving special character ' β '...
I've created a chat application using Appwrite. However, when users try to save code that contains the character 'β', an internal server error occurs. Interesti...
