{"id":318733,"date":"2022-01-03T17:46:51","date_gmt":"2022-01-03T17:46:51","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=318733"},"modified":"2026-05-22T13:23:11","modified_gmt":"2026-05-22T13:23:11","slug":"how-to-configure-google-authenticator-with-magento2-two-factor-authentication","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/","title":{"rendered":"How to configure Google Authenticator with Magento 2 Two-Factor Authentication"},"content":{"rendered":"\n<p>Two Factor Authentication for Magento 2 functionality is used to provide the extra security feature to the account. Here\u2019s the method to&nbsp;set up <strong>two-factor authentication<\/strong> in Magento 2.4.<\/p>\n\n\n\n<p>The store owner can enable or disable the <a href=\"https:\/\/store.webkul.com\/magento2-two-factor-authentication.html\">Magento 2 two-factor authentication<\/a> as per the requirements. However, it is not best practice to disable Magento 2FA.<\/p>\n\n\n\n<p>Two-factor authentication is widely used, and it is common to generate access codes for different websites on the same app. <\/p>\n\n\n\n<p>For example, you might use Google Authenticator to generate codes for the\u00a0<em>Admin<\/em>\u00a0of your store, your\u00a0<em>magento.com<\/em>\u00a0account, Google account, and so on.<\/p>\n\n\n\n<p><a href=\"https:\/\/webkul.com\/adobe-commerce-cloud\/\">Adobe Commerce development<\/a> supports 2FA methods from multiple providers. Some require the installation of an app that generates a one-time password (OTP) that users enter at sign-in to verify their identity. <\/p>\n\n\n\n<p>Universal 2nd Factor (U2F) devices resemble a key fob and generate a unique key to verify identity. Other devices verify identity when they are inserted into a USB port. <\/p>\n\n\n\n<p>As the store administrator, you can require one or more of the available 2FA methods to verify user identity. <\/p>\n\n\n\n<p>Your 2FA configuration applies to all websites and stores that are associated with the Adobe Commerce installation.<\/p>\n\n\n\n<p>The first time a user signs in to the\u00a0<em>Admin<\/em>, they must set up each\u00a02FA\u00a0method that you require, and verify their identity using the associated app or device. <\/p>\n\n\n\n<p>After this initial setup, the user must authenticate with one of the configured methods each time they sign in. <\/p>\n\n\n\n<p>Each user\u2019s 2FA information is recorded in their\u00a0<em>Admin<\/em>\u00a0account and can be\u00a0<a href=\"https:\/\/docs.magento.com\/user-guide\/stores\/security-two-factor-authentication-manage.html\">reset<\/a>\u00a0if necessary.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"configure-your-required-2fa-providers\">Configure your required 2FA provider(s)<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On the&nbsp;<em>Admin<\/em>&nbsp;sidebar, go to&nbsp;<strong>Stores<\/strong>&nbsp;&gt;&nbsp;<em>Settings<\/em>&nbsp;&gt;&nbsp;<strong>Configuration<\/strong>. <\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"623\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-21-17-1200x623.png\" alt=\"Screenshot-from-2022-01-03-22-21-17\" class=\"wp-image-318740\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-21-17-1200x623.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-21-17-300x156.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-21-17-250x130.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-21-17-768x399.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-21-17.png 1283w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">2FA<\/figcaption><\/figure>\n\n\n\n<p>2. In the left panel, click&nbsp;<strong>Security<\/strong>&nbsp;and choose&nbsp;<strong>2FA<\/strong>.<\/p>\n\n\n\n<p>3. In the&nbsp;<em>General<\/em>&nbsp;section, select each&nbsp;<strong>Provider to use<\/strong>. <\/p>\n\n\n\n<p>To select multiple methods, hold down the Ctrl key (PC) or the Command key (Mac) and click each item.<\/p>\n\n\n\n<p>4. Complete the settings for each required 2FA method.<\/p>\n\n\n\n<p>5.  When complete, click&nbsp;<strong>Save Config<\/strong>. <\/p>\n\n\n\n<p>The first time users sign in to the&nbsp;<em>Admin<\/em>, they must set up each required 2FA method. After this initial setup, they must authenticate with one of the configured methods each time they sign in.<\/p>\n\n\n\n<p><strong>Using Two-Factor Authentication<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"google-authenticator\"><a href=\"https:\/\/apps.apple.com\/us\/app\/google-authenticator\/id388497605\">Google Authenticator<\/a><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-1-set-up-google-authenticator\"><a href=\"https:\/\/docs.magento.com\/user-guide\/stores\/security-two-factor-authentication-use.html#step-1-set-up-google-authenticator\"><\/a>Steps : Set up Google Authenticator<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Enter your account credentials and sign in to the&nbsp;<em>Admin<\/em>. <\/li>\n<\/ol>\n\n\n\n<p>When the admin tries to sign in to the admin panel, the message window that requests to configure two-factor authentication is shown.<\/p>\n\n\n\n<p>2. The admin receives an email for further process to configure Magento 2FA.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1055\" height=\"395\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-22-18.png\" alt=\"Screenshot-from-2022-01-03-20-22-18\" class=\"wp-image-318736\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-22-18.png 1055w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-22-18-300x112.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-22-18-250x94.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-22-18-768x288.png 768w\" sizes=\"(max-width: 1055px) 100vw, 1055px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">2FA configuration email<\/figcaption><\/figure>\n\n\n\n<p>3. When the admin will click on the link (Click here) received in the mail, will show a window. to select one or more Two Factor Authentication providers to be used to authorize admin users.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"624\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-20-25-1200x624.png\" alt=\"Screenshot-from-2022-01-03-20-20-25\" class=\"wp-image-318738\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-20-25-1200x624.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-20-25-300x156.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-20-25-250x130.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-20-25-768x399.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-20-25.png 1289w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">Two Factor Authentication providers<\/figcaption><\/figure>\n\n\n\n<p>4. Select Google Authenticator and click on Apply button. After that admin will see a Bar Code window to scan with the google authenticator app.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"626\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-25-21-1200x626.png\" alt=\"Screenshot-from-2022-01-03-20-25-21\" class=\"wp-image-318737\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-25-21-1200x626.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-25-21-300x156.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-25-21-250x130.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-25-21-768x400.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-20-25-21.png 1283w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">Google Authentication QR Code<\/figcaption><\/figure>\n\n\n\n<p>5. Open the&nbsp;<strong>Google Authenticator<\/strong>&nbsp;app on your mobile device. <\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click the plus sign (&nbsp;<strong>+<\/strong>&nbsp;) to add a new entry. Then, do the following:\n<ul class=\"wp-block-list\">\n<li>Line up the red box with the QR code to scan with the camera on your smart phone.<\/li>\n\n\n\n<li>When it recognizes the QR code and adds an entry, enter that 6-digit code in the&nbsp;<em>Admin<\/em>&nbsp;<strong>Authenticator code<\/strong>&nbsp;field.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>When complete, click&nbsp;<strong>Confirm<\/strong>. You will be redirect on Dashboard.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Sign in with Google Authenticator<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Enter your account credentials and sign in to the <em>Admin<\/em>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"616\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-36-55-1200x616.png\" alt=\"Screenshot-from-2022-01-03-22-36-55\" class=\"wp-image-318741\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-36-55-1200x616.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-36-55-300x154.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-36-55-250x128.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-36-55-768x394.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-36-55.png 1302w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">Google Authenticator<\/figcaption><\/figure>\n\n\n\n<p>2. Open&nbsp;<strong>Google Authenticator<\/strong>&nbsp;on your mobile device.<\/p>\n\n\n\n<p>3. When prompted, enter the six-digit Authentication code.<\/p>\n\n\n\n<p>4. When complete, click&nbsp;<strong>Confirm<\/strong>.<\/p>\n\n\n\n<p>That\u2019s all for the Two Factor Authentication for Magento 2.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Two Factor Authentication for Magento 2 functionality is used to provide the extra security feature to the account. Here\u2019s the method to&nbsp;set up two-factor authentication in Magento 2.4. The store owner can enable or disable the Magento 2 two-factor authentication as per the requirements. However, it is not best practice to disable Magento 2FA. Two-factor <a href=\"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":377,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,9121],"tags":[],"class_list":["post-318733","post","type-post","status-publish","format-standard","hentry","category-magento","category-magento-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Configure Google Authenticator with Magento 2 2FA<\/title>\n<meta name=\"description\" content=\"Configure Google Authenticator with Magento 2 two-factor authentication to improve admin security and protect your store from unauthorized access.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configure Google Authenticator with Magento 2 2FA\" \/>\n<meta property=\"og:description\" content=\"Configure Google Authenticator with Magento 2 two-factor authentication to improve admin security and protect your store from unauthorized access.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-03T17:46:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-22T13:23:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-21-17-1200x623.png\" \/>\n<meta name=\"author\" content=\"Rahul Chaudhary\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rahul Chaudhary\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/\"},\"author\":{\"name\":\"Rahul Chaudhary\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/07d5b40e4a4b5c6996d171e134826b75\"},\"headline\":\"How to configure Google Authenticator with Magento 2 Two-Factor Authentication\",\"datePublished\":\"2022-01-03T17:46:51+00:00\",\"dateModified\":\"2026-05-22T13:23:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/\"},\"wordCount\":639,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-21-17-1200x623.png\",\"articleSection\":[\"magento\",\"Magento 2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/\",\"url\":\"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/\",\"name\":\"Configure Google Authenticator with Magento 2 2FA\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-21-17-1200x623.png\",\"datePublished\":\"2022-01-03T17:46:51+00:00\",\"dateModified\":\"2026-05-22T13:23:11+00:00\",\"description\":\"Configure Google Authenticator with Magento 2 two-factor authentication to improve admin security and protect your store from unauthorized access.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-21-17.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-21-17.png\",\"width\":1283,\"height\":666,\"caption\":\"Screenshot-from-2022-01-03-22-21-17\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to configure Google Authenticator with Magento 2 Two-Factor Authentication\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/07d5b40e4a4b5c6996d171e134826b75\",\"name\":\"Rahul Chaudhary\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/40e957d926aaa241dc1de7dd09cfea4a0c86ed9fa29bb7eda51de1a8967864e7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/40e957d926aaa241dc1de7dd09cfea4a0c86ed9fa29bb7eda51de1a8967864e7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Rahul Chaudhary\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/rahulchaudhary766\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configure Google Authenticator with Magento 2 2FA","description":"Configure Google Authenticator with Magento 2 two-factor authentication to improve admin security and protect your store from unauthorized access.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/","og_locale":"en_US","og_type":"article","og_title":"Configure Google Authenticator with Magento 2 2FA","og_description":"Configure Google Authenticator with Magento 2 two-factor authentication to improve admin security and protect your store from unauthorized access.","og_url":"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2022-01-03T17:46:51+00:00","article_modified_time":"2026-05-22T13:23:11+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-21-17-1200x623.png","type":"","width":"","height":""}],"author":"Rahul Chaudhary","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Rahul Chaudhary","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/"},"author":{"name":"Rahul Chaudhary","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/07d5b40e4a4b5c6996d171e134826b75"},"headline":"How to configure Google Authenticator with Magento 2 Two-Factor Authentication","datePublished":"2022-01-03T17:46:51+00:00","dateModified":"2026-05-22T13:23:11+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/"},"wordCount":639,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-21-17-1200x623.png","articleSection":["magento","Magento 2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/","url":"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/","name":"Configure Google Authenticator with Magento 2 2FA","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-21-17-1200x623.png","datePublished":"2022-01-03T17:46:51+00:00","dateModified":"2026-05-22T13:23:11+00:00","description":"Configure Google Authenticator with Magento 2 two-factor authentication to improve admin security and protect your store from unauthorized access.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-21-17.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/01\/Screenshot-from-2022-01-03-22-21-17.png","width":1283,"height":666,"caption":"Screenshot-from-2022-01-03-22-21-17"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/how-to-configure-google-authenticator-with-magento2-two-factor-authentication\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to configure Google Authenticator with Magento 2 Two-Factor Authentication"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/07d5b40e4a4b5c6996d171e134826b75","name":"Rahul Chaudhary","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/40e957d926aaa241dc1de7dd09cfea4a0c86ed9fa29bb7eda51de1a8967864e7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/40e957d926aaa241dc1de7dd09cfea4a0c86ed9fa29bb7eda51de1a8967864e7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Rahul Chaudhary"},"url":"https:\/\/webkul.com\/blog\/author\/rahulchaudhary766\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/318733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/377"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=318733"}],"version-history":[{"count":10,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/318733\/revisions"}],"predecessor-version":[{"id":539780,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/318733\/revisions\/539780"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=318733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=318733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=318733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}