
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
- [FEATURE] Better usage analytics for app...
Recently, i've gotten **73** emails from appwrite regarding excesive GBHours usage. I've almost hit the limit of 1000 and it is really hard to track down which ...
- Images not showing up --
so i made this movie app - i hosted it successfully using appwrite but the images arent showing up --- https://movie-app-jsm.appwrite.network/ this is the movie...
- What’s the current approach for always o...
Read that it’s not a thing out of the box, but what’s the possible setup here?
