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
- Help
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...