{"id":44,"date":"2021-04-22T13:00:27","date_gmt":"2021-04-22T13:00:27","guid":{"rendered":"https:\/\/documentation.userswp.io\/article\/google-setup-guide\/"},"modified":"2025-03-26T15:39:29","modified_gmt":"2025-03-26T15:39:29","slug":"google-setup-guide","status":"publish","type":"gd_place","link":"https:\/\/userswp.io\/documentation\/article\/social-login\/google-setup-guide\/","title":{"rendered":"Google Setup Guide"},"content":{"rendered":"<p>\n\t This article will guide you through the process of setting up <strong>Google<\/strong> with the <strong>Social Login<\/strong> extension for UsersWP. You will need a Google account in order to integrate it with our Social Login extension.&nbsp;<\/p>\n<h2>Settings Overview<\/h2>\n<section class=\"alert alert-info\">\n\t You need to have the <a href=\"https:\/\/wordpress.org\/plugins\/userswp-social-login\/\">Social Login<\/a> extension for UsersWP installed and activated in order to access these settings.&nbsp;<\/section>\n<ul>\n<li><strong>Enable Google &#8211; <\/strong>To enable Google support, you need to check this option.&nbsp;<\/li>\n<li><strong>Google APP ID &#8211; <\/strong>This is where you will enter your Google APP ID.&nbsp;<\/li>\n<li><strong>Google APP&nbsp;Secret &#8211; <\/strong>Enter your Google APP Secret key here.&nbsp;<\/li>\n<li><strong>Let the User Enter the Username? &#8211; <\/strong>If checked, the user will be allowed to choose a username (if unchecked, username is automatically generated).&nbsp;<\/li>\n<li><strong>Let the User Enter Email? &#8211; <\/strong>If checked, users can enter an email of their choice. If unchecked, the email returned by Google is used.&nbsp;<\/li>\n<\/ul>\n<h2>Setting up Google with Social Login<\/h2>\n<p>\n\t<xdcfgbhj< p=\"\"><\/xdcfgbhj<><\/p>\n<dl>\n<dt>\n\t1\n\t<\/dt>\n<dd>\n\tFirst up, go to <a href=\"https:\/\/console.developers.google.com\/\" target=\"_blank\">Google Developers Console<\/a> and click <strong>Create New Application<\/strong>.\n\t<\/dd>\n<dt>\n\t2\n\t<\/dt>\n<dd>\n\tYou will see a dropdown after Google APIs logo; click on it and then click the&nbsp;<strong>Create Project<\/strong> link on the top right corner of the popup.\n\t<\/dd>\n<dt>\n\t3\n\t<\/dt>\n<dd>\n\tFill in the details for the new project and click on <strong>Create.<\/strong> <\/dd>\n<dt>\n\t4\n\t<\/dt>\n<dd>\n\tAgain go to projects&#8217; dropdown and select the project that you created recently.\n\t<\/dd>\n<dt>\n\t5\n\t<\/dt>\n<dd>\n\tClick on <strong>ENABLE APIs AND SERVICES<\/strong> button and search for <strong>Google+ API<\/strong> and click on the <strong>Enable<\/strong> button to enable that API.\n\t<\/dd>\n<dt>\n\t6\n\t<\/dt>\n<dd>\n\tAfter enabling the API, click on the <strong>OAuth consent screen<\/strong> on the left sidebar menu and fill up all the details. Don&#8217;t forget to enter your site URL into the <strong>authorized domains <\/strong>list.&nbsp;<\/dd>\n<dt>7<\/dt>\n<dd>After that, you will need to create credentials for Social Login. Go to <strong>Credentials<\/strong> on left sidebar menu. Click on the&nbsp;<strong>Create Credentials<\/strong> button and select <strong>OAuth client ID.<\/strong><\/dd>\n<dt>8<\/dt>\n<dd>Choose <strong>Web Application<\/strong> from the list and fill in all the details. Enter the URL from the UsersWP Google Social login settings page in the <strong>Authorized Redirect URIs<\/strong> field and click on <strong>Create.<\/strong><\/dd>\n<dt>9<\/dt>\n<dd>You will get your <strong>Client ID<\/strong> and <strong>Client Secret<\/strong> in the popup. Enter those into our UsersWP Google Social Login settings and you are done.\n\t<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>This article will guide you through the process of setting up Google with the Social Login extension for UsersWP. You will need a Google account in order to integrate it with our Social Login extension.&nbsp; Settings Overview You need to have the Social Login extension for UsersWP installed and activated in order to access these [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[82,83],"article\/categories":[5,16],"class_list":["post-44","gd_place","type-gd_place","status-publish","hentry","gd_place_tags-google-social-login","gd_place_tags-social-login","gd_placecategory-extensions-features","gd_placecategory-social-login"],"_links":{"self":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/44","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"replies":[{"embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/comments?post=44"}],"version-history":[{"count":0,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/44\/revisions"}],"wp:attachment":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/media?parent=44"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/tags?post=44"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/categories?post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}