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
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...