I want a new database to be created when a new user is created and I should be able to get the database ID when user logs in and then only that user should be able to perform operations on that database. But I'm facing issue with linking the new database with user Any idea how to do it?
Hi - what issue are you facing?
I opine, you can create a function of creating documents triggered only when a new user (signup ) is done
upon login -> login function can trigger the event of giving you document ID - which you can maybe choose to be a global variable ? (not safe) but in any other way
Recommended threads
- OAuth login not working on deployed app ...
Hey there, I've been dealing with an issue where I cannot use OAuth on my deployed app - locally everything works fine. I am using react-router in Framework Mo...
- database documents relationships
after migrating from 1.7.4 to 1.8, database get document and list documents is getting results but with no relationship values, the relationship attribute will...
- Getting CORS error when accessing websit...
When accessing my website I'm getting: (index):1 Access to font at 'https://assets.appwrite.io/fonts/inter/Inter-Regular.woff2' from origin 'https://mvp-site-ra...