get social login info
# bot-training
r
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: https://supertokens.com/docs/thirdparty/common-customizations/getting-provider-access-token (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.
st-bot-test-case