
some operations I want the user to confirm with their credentials, for example deleting a document. How to do this without creating new session? All the ways I thought, it would have to be by cloud function but it would still create a session

Right. There's no step up authentication yet. Creating a new session sounds like a good idea

is that creating a new session I found it a bit strange because it goes to the session history but I think that today it is the only option. cloud function session creation I deleted the session returns true or false to the client

Yes, it's a little weird, but you are right. That's the only option today.
I would have the function do the privileged action instead of returning true/false

thanks steven, i will go that way

[SOLVED] Validate credentials to confirm the operation
Recommended threads
- Type String is not a subtype of type int...
In flutter using appwrite: ^17.1.0, ```DocumentList response = await databases!.listDocuments( databaseId: "xxx", collectionId: "xxx", ...
- How to pass session from browser to a mo...
I have a self-hosted Appwrite container. I also have a www page (A) which should acts as login page for different www services (B). User click login in B, is re...
- Two steps signIn with one user:
'm using appwrite to try two phase login, step 1: await account.createAnonymousSession(); or final appwriteUser = await account.create( ...
