After a user logs in via GitHub OAuth, how can the app knowtheir GitHub username?
I could not see it in the session await account.getSession("current") or account await account.get()
If I'm not wrong appwrite only gets the user email, so you can't get it directly from appwrite
The current session (await account.getSession("current")) will have an access token which you can use the make an API call to GitHub and probably retrieve the username
Thank you @D5 @Drake 👍
Recommended threads
- MFA Recovery Codes issue
after creating recovery codes using `account.createMFARecoveryCodes()` do we need to Verify MFA factors type recovery code? I followed this guide: https://appw...
- Build Error Truncated
I'm trying to start with Appwrite using an existing Next.js project of mine. When a deployment runs though it just ends up showing :`server error.","code":500,"...
- Github repositories not showing on avail...
Hi there, I installed appwrite to be connected to a specific respository but when selecting to deploy form git on the site building, there is no repositories ap...