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
- Need help to create a wrapper which let ...
I’m looking for help setting up Appwrite properly on a VPS so I can build a self-hosting wrapper around it. The goal is to provide a Linux executable that allow...
- redirect uri not working for OAuth with ...
I'm following this tutorial: https://appwrite.io/blog/post/google-oauth-expo#create-an-expo-app but im using an android development build instead. When I run h...
- Cannot use Apple Oauth2 in React Native/...
Hi! I've trying to add the Apple sign in feature into my Expo App. I followed the docs, but I still receiving the error "Cannot set 'location.href'". Can someon...