
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
- Looking for Partner
I'm looking for partner for long-term collaborating. Of course, I'll pay for you. If you are interested, Please DM me.
- Issue - Migration From Cloud > Self Host...
Hi team, I’m trying to migrate a few of my Appwrite projects from the cloud to a self-hosted instance. These projects are currently in “archive mode” due to th...
- Subdomain failed verification
So I wanted to do a custom subdomain, because local storage doesn't work for me, but I've tried it a long time ago, it didn't work for me, and now I'm trying ag...
