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
- Anonymous Sessions using Node SDKs
I am attempting to use anonymous sessions with the Node SDK but I have simply no idea how to persist the session to a cookie, pass it to the session client, etc...
- Auth working for emulator but not for ph...
hey guys i'm using appwrite for expo react native it is working perfectly for emulator but does not working for physical devices can u explain any one and it is...
- Invalid Credentials to Log in
Hello team, I’m facing a login issue with appwrite this morning. I can’t login anymore. I haven’t changed or pushed anything since the last time I was able to l...