Join Discord
Powered by
<@!743174557661397133> How to get the name for g...
# support-questions
r
rp
09/29/2021, 4:56 AM
@User
> How to get the name for google and facebook providers? You mean user's name? If yes, then: - First, you will have to set the appropriate scopes:
https://supertokens.io/docs/thirdpartyemailpassword/common-customizations/signup-form/changing-oauth-scopes
- Then, post sign up / login, you can get the access token from google / fb and query them to get the user's name:
https://supertokens.io/docs/thirdpartyemailpassword/common-customizations/signup-form/built-in-providers#get-the-third-party-providers-access-token
Previous
Next