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
- Problem adding domain onto the project a...
I have used 2 domains on the project HavanaDev (havanadev.pro and havanadev.com). .com was just redirected to . Pro domain. .pro is expired, now I’d like to use...
- [SOLVED] Appwrite Cloud and FRA cloud se...
Can anyone estimate how long this will take to resolve? I am checking status here https://status.appwrite.online/
- MFA TOTP State Inconsistency After Disab...
MFA TOTP State Inconsistency After Disable/Re-enable Flow — Invalid Token During Verification Environment: - Next.js - node-appwrite - Session-based authentica...