
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
- Appwrite Cloud Custom Domains Issue
Iβm trying to configure my custom domain api.kondri.lt (CNAME pointing to appwrite.network., also tried fra.cloud.appwrite.io with no luck ) but encountering a ...
- Persistent 401 Unauthorized on all authe...
Hello, I'm facing a critical 401 Unauthorized error on my admin panel app and have exhausted all debugging options. The Problem: When my React app on localhos...
- OpenAI Whisper on Appwrite Sites
Hey guys, just wondering if I can serve an OpenAI Whisper AI on appwrite / appwrite sites. tiny model is like ~40-50MB
