Fetch info from third party provider


04/02/2023, 2:59 PM
how can i get the avatar and the username, example i use the github login?
See our docs for how to get the access token from the third party provider: (this is for thirdparty recipe, if instead you use thirdpartyemailpassword or thirdpartypasswordless, search in those docs). Once you have the access token, you can query github to get the info and save it in your db against the user ID, or in the supertokens' user metadata recipe.