I have so many questions so even if you answer 1 of them it would be amazing. First of all, I'm using next.js. I have a sign in with google button to login.
- Is the providerAccessToken something that should be kept private (aka server-sided)?
- Can I access a users providerAccessToken or their session by their userid from the backend?
- How can I verify that the user is actually the user that made the request in my backend?
- I want to assign some groups to the user so they will have access to group1 and group2 for example. Do I need to create a new database for that? If yes, in what format. would (userid, groups) be enough?
I had more questions but I don't remember them now. I'll create another topic If I remember.
Extra notes: I don't want to update my database directly from client to appwrite since I want to verify/edit some data before updating the database.
Recommended threads
- [Solved]
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- [Solved] Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...