
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
- Getting 500 [Internal error] while tryin...
I had just created a new account and after creating my organization, I got thie 500 internal error. I tried logging in again also deleted cookies and cache but ...
- User (role: guests) missing scope (accou...
After logging in with Google and Discord, i get this error. I can even see a session running on my accounts on the dashboard, but getting this error. It works o...
- Getting Total Number of Collections in A...
Hi Appwrite Community, I'm working on an analytics dashboard and would like to retrieve the total number of collections in my Appwrite database. Is there a bui...
