Back

Authentication Issue with Appwrite SDK when Integrating with Wappler Project

  • 0
  • Self Hosted
  • Storage
MarcosFernando_
21 Mar, 2024, 15:30

I'm facing an issue while trying to integrate my Wappler project with Appwrite to perform file upload and deletion operations in buckets. I followed the integration instructions provided in the Appwrite documentation and was able to perform the upload and deletion actions. However, I'm having difficulties with authentication via API KEY.

Basically, I am "bypassing" the authentication with the API KEY when trying to use the Appwrite SDK.

I have a Appwrite running in a docker container, and my project in localhost. So, I developed a function for my project that uses the node-appwrite SDK to create, and delete files directly from my project.

But even setting my correct API KEY to the sdk.Client(), or even passing it wrong, I'm still able to perform actions in my Appwrite project. And also, when looking to the Appwrite API Keys Interface, it says "Never accessed".

I'm new to Appwrite and development world, so maybe I'm getting this all wrong. Thanks!!

TL;DR
Issue integrating Wappler project with Appwrite SDK for file operations. Despite setting the API KEY in the SDK client, authentication isn't working as expected. Appwrite API Keys Interface shows "Never accessed." The developer suspects authentication bypass.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more