I have two Application using Appwrite and Users from both applications must be able to access certain collection of the other Database. I am in the process of solving this issue with an API KEY to grant access. However to hide it securely with dotenv i must set up a backend server with node.js. I was wondering if there is a better way to do this? Help is very much appreciated!
You can use an Appwrite function and grant it access to your database, it will automatically generate and API key that will be available in your function runtime env vars.
This way, you don't to manage API keys, or external servers or worry about scale.
Recommended threads
- Realtime doesn't seem to work with Table...
Hi, I am trying to connect my tables rows with realtime on my react website, it connects, but I dont get the rows when a row is being created. I tried with Chan...
- Resource limit error using API for proje...
Project ID: 67414182001dfe44c386 Endpoint: https://fra.cloud.appwrite.io/v1 Web Dashboard works fine, able to CRUD. But API return error ``` { "message": "...
- Failed to receive appwrite reset passwor...
Hey there, I forgot my password for my appwrite account but when i use forgot password, i dont get an email to reset the account but when i try to create a new ...