Rank 2: Process
after generating an api key how to set it up in the client side in flutter/dart
Votes
0
Replies
11
Participants
Unknown
Messages
12
Rank 2: Process
after generating an api key how to set it up in the client side in flutter/dart
You should never use an API key in the client side.
API keys that you generate in the Appwrite console should only be used for cloud functions
Mind if I ask why you're trying to use an API key in the client-side?
Rank 2: Process
i am making a chat app and i need to make new collections for each user everytime there is a new group of two trying to chat
Rank 2: Process
i am using no-signal approach for making this app
Rank 2: Process
it is there in awesome appwrite
okay that's good. but i'm still not sure why ypu need to use an API key in the client side?
Rank 2: Process
because without an api key you cant make new collections
you can create a cloud function to create a collection for the new user, which requires an API key. But that's supposed to be set inside the function itself
if you are executing the function on the client side, just call createExecution with the functionID