yes i just did I understand
so I have the provider access token now
and I want to get the github username using it
could you please guide me with the end point to which I would have to make the request to get it with the access token as the Authentication header
Also, did you take a look at the rest of the data in the session object?
yes
what's in providerUid?
it is the Uid of the provider
I gues
did you actually look at the value?
I tried it out
in implementation initially i thought it might give me what i wanted but it returned a number
is it related to my github account ?
anyways, you'll have to look up how to use the github api
could this somehow fetch me my username
yes...
how
look up how to use the github api
found this I guess this might help and would pass the auth token as the access token
though the appwrite part is resolved thanks a lot
Hey @Steven made it work thanks a lot
its working and I am getting the desired data
[SOLVED] How to get Data from OAuth2 Providers?
Recommended threads
- Problem with Google Workspace at DNS Rec...
Hello, I bought a domain at Namecheap, and Google Workspace used to work there, but now that I switched from Custom DNS to Appwrite's nameservers, it doesn't w...
- Flutter OAuth2 webAuth Bug?
I created with flutter an app where I can login in with my Microsoft Account. When I compile it to Web (WASM) or Android (aab) then there is no problem what so ...
- change role of a team member in Appwrite
It's not possible to add/change roles of a team meber in Appwrite Frontend. When you click on a member of a team you get forwarded to the configuration page of ...