
Hey everyone!
I am looking for authentication access mechanisms for my web app (We're currently using Next-auth for login). We have multiple defined roles for our customers who can access our platform. We want to define different access levels on our app based on these roles. (I want fine-grained access levels in my application for each user. )
- Can I use Appwrite Auth to perform this function?
- Do I need to make separate API calls to my Appwrite backend everytime to check what type of access does each user have?
- Can I use 2FA using Google Authenticator (or other MFA apps) to authenticate user using Appwrite?
- If I add 4 different files in my storage bucket, and want to give access to different people of different files, how can I do it? Do I define separate API keys for each user?
Our current solution: We have a database in Appwrite storing all the details about each user and their access permissions. Everytime a user logs into our web app (using next-auth), we check if the user is present in our db and then render web app according to his permissions. Is there a better way to store more granular info about each user?
Thanks in advance!
Recommended threads
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
- 1.7.0 Self Hosted Upgrade
Hi, I've tried a fresh install on 1.7.0 and I've also done a fresh install on 1.6.2. 1.6.2 is working fine fresh, update to 1.7.0 and migrate fails Fresh inst...
