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
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...
- trying to figure out how to activate my...
please help
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support 👋 I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...