Rank 3: Container
yes i just did I understand
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 3: Container
yes i just did I understand
Rank 3: Container
so I have the provider access token now
Rank 3: Container
and I want to get the github username using it
Rank 3: Container
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?
Rank 3: Container
yes
what's in providerUid?
Rank 3: Container
it is the Uid of the provider
Rank 3: Container
I gues
did you actually look at the value?
Rank 3: Container
yes user@example.com"
Rank 3: Container
I tried it out
Rank 3: Container
in implementation initially i thought it might give me what i wanted but it returned a number
Rank 3: Container
is it related to my github account ?
anyways, you'll have to look up how to use the github api
Rank 3: Container
could this somehow fetch me my username
yes...
Rank 3: Container
how
look up how to use the github api
Rank 3: Container
Rank 3: Container
found this I guess this might help and would pass the auth token as the access token
Rank 3: Container
though the appwrite part is resolved thanks a lot
Rank 3: Container
Hey @Steven made it work thanks a lot
Rank 3: Container
its working and I am getting the desired data
[SOLVED] How to get Data from OAuth2 Providers?