I'm facing a scenario where users sign in using their email on our website, but to access a core feature like creating a repository, we require a GitHub access token. I'm seeking guidance on how to seamlessly link their GitHub account after signing in via email to obtain the access token. Currently, the code I've implemented seems to override the existing session, creating a new account instead of linking with their GitHub account.
Additionally, I'm unsure whether it's necessary to save this access token in our database, considering it generates a new one every time a user logs in.
Recommended threads
- Document created without ID in console
Hi team, I’m experiencing an issue in the Appwrite console. When I create a document in a collection via the **Collections UI**, the document gets created **wi...
- Excessive usage of cloud functions is sl...
I have made almost all my requests through cloud functions and jwt , due to security fears of a user editing a field he is not supposed to . This unfortunately...
- Using Binary Log with Appwrite
If I can remember correctly appwrite uses mariaDB as the underlying database. If so could I use mariaDB’s binary log to see database operations from appwrite?