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
- updateSession isn't working for google o...
I'm building an app using react native with expo. An image of my code is attached. The code is a useEffect that i have in a context that wraps the root layout ...
- Realtime Connection Count only goes up
I just wanted to ask if this behavior is normal. I restarted realtime 2 days ago and it already reached a connection count of over 11k. The count only goes up. ...
- Can I create a transaction that involves...
i want to create a row un `auth.users` and then create a user in a table `profiles` but i want to use the same id for both tables. So, if insert a row in pro...