Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Tutorials
Tutorials
Explore in-depth tutorials for operating your VTEX store.
Tutorials
Authentication
Authentication basics
Configuring login with Facebook and Google
Configuring login with Facebook and Google

On VTEX, it is not necessary to create an account or log in to make a purchase. However, if customers want to change the information provided during their first purchase, they must validate their email address.

  1. Obtain credentials from providers
  2. Configure login with providers
  3. Validate the configuration

Obtaining credentials from providers

Before setting up our Google and Facebook login integrations, you need to create OAuth 2.0 credentials (the protocol used for integration) in these services. To do this, follow the instructions in the articles below:

Configuring login with providers

After completing the configuration on Facebook and/or Google, you must configure the login option for the desired provider in the VTEX Admin. In both cases, you will need the Client ID and Client Secret from your providers.

  1. In the top bar of the VTEX Admin, click your profile avatar, indicated by the initial letter of your email address.
  2. Click Account settings > Authentication.

You will be redirected to the Webstore tab of the Authentication page, which lists the login methods available in your store.

{"base64":"  ","img":{"width":1607,"height":968,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":71671,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/Authentication/Authentication%20basics/configuring-login-with-facebook-and-google_1.png"}}
3. In the row of the desired login provider, click Configure.

  1. Complete the form with the Client ID and Client Secret from the previous step and click Save.

{"base64":"  ","img":{"width":913,"height":533,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":16899,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/Authentication/Authentication%20basics/configuring-login-with-facebook-and-google_2.PNG"}}
6. On the Authentication page, enable the provider by clicking the toggle switch.

{"base64":"  ","img":{"width":2774,"height":1486,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":145208,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/Authentication/Authentication%20basics/configuring-login-with-facebook-and-google_3.png"}}

Validating the configuration

After the configuration in the VTEX Admin, we recommend testing the login with the chosen provider through the end URL your users will access to visit your store. When trying to log in, the options for active providers will be displayed.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback