get social login info


04/03/2023, 7:18 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.