Good day! I started developing a website, wrote the registration and authorization, but I have a problem with roles. I haven't used them and don't understand how they work. My code is below. https://pastebin.com/3Zr0hQG3
I don’t see any mention of Roles in your code. It seems to be just a Laravel AuthController for Appwrite?
The code looks fine to me, except for the lack of ProjectID being set (which I presume you just removed for posting), and the creation of a new Client for every action
Recommended threads
- Inviting members while SMTP is disabled ...
Issue: https://github.com/appwrite/console/issues/3125 PR: https://github.com/appwrite/console/pull/3126
- Appwrite Sites: ERR_TOO_MANY_REDIRECTS o...
So, my domain was working perfectly fine with Vercel. I was using cloudflare CDN (still am) but CNAME was DNS-only. I switched over to appwrite, CNAME is still ...
- Invalid type for attribute 'email': emai...
I'm using the node-appwrite SDK to create a table, the column payload looks like this: ```json [{"key":"email","type":"email","required":true, "size": 512}] ``...