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
- Android SDK: Kotlin null Value Not Updat...
Hi team, I think you should check the Android SDK implementation once, as it seems to have an issue handling Kotlin **null** values. For example: When I send:...
- Can't connect GitHub — 500 error at the ...
Appwrite Cloud, Pro plan, SFO region. All my Git connections vanished today — Sites and all 15 Functions now show no repository connected. When I try to add a ...
- vorafy.studio domain already exists erro...
My domain vorafy.studio is stuck/locked from a previously deleted project. I created a new project but can't add the domain — getting 'already exists' error. Pl...