{"id":403,"date":"2026-01-20T15:03:40","date_gmt":"2026-01-20T09:33:40","guid":{"rendered":"https:\/\/tutorialsmines.com\/blog\/?p=403"},"modified":"2026-01-20T15:03:40","modified_gmt":"2026-01-20T09:33:40","slug":"step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google","status":"publish","type":"post","link":"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/","title":{"rendered":"Step-by-Step Guide to Set Up Google Console API for \u201cSign in with Google\u201d"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/tutorialsmines.com\/blog\/wp-content\/uploads\/2026\/01\/ChatGPT-Image-Jan-20-2026-03_03_19-PM-1024x683.png\" alt=\"\" class=\"wp-image-404\" srcset=\"https:\/\/tutorialsmines.com\/blog\/wp-content\/uploads\/2026\/01\/ChatGPT-Image-Jan-20-2026-03_03_19-PM-1024x683.png 1024w, https:\/\/tutorialsmines.com\/blog\/wp-content\/uploads\/2026\/01\/ChatGPT-Image-Jan-20-2026-03_03_19-PM-300x200.png 300w, https:\/\/tutorialsmines.com\/blog\/wp-content\/uploads\/2026\/01\/ChatGPT-Image-Jan-20-2026-03_03_19-PM-768x512.png 768w, https:\/\/tutorialsmines.com\/blog\/wp-content\/uploads\/2026\/01\/ChatGPT-Image-Jan-20-2026-03_03_19-PM.png 1536w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Google Sign-In is one of the most trusted and widely used authentication methods today. Whether you are building a <strong>mobile app, web application, or backend system<\/strong>, integrating Google Login improves user experience, security, and trust.<\/p>\n\n\n\n<p>In this guide, you\u2019ll learn <strong>how to configure Google Cloud Console step by step<\/strong> to enable <strong>\u201cSign in with Google\u201d (OAuth 2.0)<\/strong> correctly, without common mistakes.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">What Is Google Sign-In (OAuth 2.0)?<\/h2>\n\n\n\n<p>Google Sign-In uses <strong>OAuth 2.0<\/strong>, a secure authorisation framework that allows users to authenticate using their Google account <strong>without sharing passwords<\/strong>.<\/p>\n\n\n\n<p>With Google OAuth:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Users log in faster<\/li>\n\n\n\n<li>Developers avoid handling passwords<\/li>\n\n\n\n<li>Google handles security and trust<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites Before You Start<\/h2>\n\n\n\n<p>Before setting up Google Console, make sure you have:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <strong>Google account<\/strong><\/li>\n\n\n\n<li>Your <strong>app details<\/strong> (package name\/domain \/ bundle ID)<\/li>\n\n\n\n<li>Backend callback URL (if applicable)<\/li>\n\n\n\n<li>Android SHA-1 keys (for mobile apps)<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Create or Select a Google Cloud Project<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Visit <strong>Google Cloud Console<\/strong><\/li>\n\n\n\n<li>Click <strong>Select a project<\/strong> (top bar)<\/li>\n\n\n\n<li>Choose <strong>New Project<\/strong><\/li>\n\n\n\n<li>Enter a project name (example: <code>MyApp Google Login<\/code>)<\/li>\n\n\n\n<li>Click <strong>Create<\/strong><\/li>\n\n\n\n<li>Ensure the project is selected<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Configure OAuth Consent Screen (Mandatory)<\/h2>\n\n\n\n<p>The OAuth consent screen defines <strong>how your app appears to users<\/strong> during login.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>APIs &amp; Services \u2192 OAuth consent screen<\/strong><\/li>\n\n\n\n<li>Select <strong>User Type<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>External<\/strong> \u2192 Public apps<\/li>\n\n\n\n<li><strong>Internal<\/strong> \u2192 Google Workspace only<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Fill the required details:\n<ul class=\"wp-block-list\">\n<li>App name<\/li>\n\n\n\n<li>User support email<\/li>\n\n\n\n<li>Developer contact email<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>App domain (optional but recommended)<\/li>\n\n\n\n<li>Add scopes:\n<ul class=\"wp-block-list\">\n<li><code>openid<\/code><\/li>\n\n\n\n<li><code>email<\/code><\/li>\n\n\n\n<li><code>profile<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Add <strong>Test users<\/strong> if the app is in testing<\/li>\n\n\n\n<li>Save and continue<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Enable Required APIs (Optional but Recommended)<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to <strong>APIs &amp; Services \u2192 Library<\/strong><\/li>\n\n\n\n<li>Search and enable:\n<ul class=\"wp-block-list\">\n<li><strong>Google Identity Services<\/strong><\/li>\n\n\n\n<li><strong>People API<\/strong> (only if profile data is needed)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click <strong>Enable<\/strong><\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Create OAuth Client ID (Core Configuration)<\/h2>\n\n\n\n<p>Go to <strong>APIs &amp; Services \u2192 Credentials \u2192 Create Credentials \u2192 OAuth Client ID<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">A) Android App Configuration<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Choose <strong>Application Type: Android<\/strong><\/li>\n\n\n\n<li>Enter:\n<ul class=\"wp-block-list\">\n<li>App name<\/li>\n\n\n\n<li><strong>Package name<\/strong> (must match exactly)<\/li>\n\n\n\n<li><strong>SHA-1 fingerprint<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click <strong>Create<\/strong><\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">How to Generate SHA-1<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Debug SHA-1<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Android Studio \u2192 Gradle \u2192 signingReport<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Production SHA-1<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Google Play Console \u2192 App Integrity \u2192 App signing key<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>\u26a0\ufe0f Both <strong>debug and release SHA-1<\/strong> must be added.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">B) Web Application Configuration<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Choose <strong>Application Type: Web Application<\/strong><\/li>\n\n\n\n<li>Add:\n<ul class=\"wp-block-list\">\n<li>Authorized JavaScript origins<br>Example: <code>https:\/\/yourdomain.com<\/code><\/li>\n\n\n\n<li>Authorized redirect URIs<br>Example: <code>https:\/\/yourdomain.com\/auth\/google\/callback<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click <strong>Create<\/strong><\/li>\n\n\n\n<li>Copy:\n<ul class=\"wp-block-list\">\n<li>Client ID<\/li>\n\n\n\n<li>Client Secret<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">C) iOS Application Configuration<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Choose <strong>Application Type: iOS<\/strong><\/li>\n\n\n\n<li>Enter:\n<ul class=\"wp-block-list\">\n<li>Bundle ID<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Create the credential<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Configure Redirect URIs Correctly<\/h2>\n\n\n\n<p>Redirect URIs must match <strong>exactly<\/strong>, including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>HTTPS<\/li>\n\n\n\n<li>Trailing slashes<\/li>\n\n\n\n<li>Subdomains<\/li>\n<\/ul>\n\n\n\n<p>Incorrect redirect URI causes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>redirect_uri_mismatch<\/code> error<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6: Publish OAuth Consent Screen<\/h2>\n\n\n\n<p>To allow public users:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>OAuth consent screen<\/strong><\/li>\n\n\n\n<li>Change status from <strong>Testing<\/strong> to <strong>In production<\/strong><\/li>\n\n\n\n<li>Basic scopes (<code>email<\/code>, <code>profile<\/code>) usually <strong>do not require verification<\/strong><\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 7: Integrate Credentials into Your Application<\/h2>\n\n\n\n<p>Depending on your setup:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Android \/ Flutter \u2192 Package name + SHA-1<\/li>\n\n\n\n<li>Web \/ Backend \u2192 Client ID &amp; Secret<\/li>\n\n\n\n<li>Firebase Auth \u2192 Add SHA-1 + download <code>google-services.json<\/code><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 8: Common Issues &amp; Fixes Checklist<\/h2>\n\n\n\n<p>\u2714 OAuth consent screen saved<br>\u2714 Correct Google Cloud project selected<br>\u2714 Correct package name\/domain<br>\u2714 Debug &amp; release SHA-1 added<br>\u2714 Test users added (if testing)<br>\u2714 Redirect URI exactly matches<br>\u2714 App published for production use<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Best Practices for Google Sign-In<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use <strong>minimal scopes<\/strong><\/li>\n\n\n\n<li>Never expose Client Secret in frontend code<\/li>\n\n\n\n<li>Verify ID tokens on the backend<\/li>\n\n\n\n<li>Keep OAuth credentials environment-specific<\/li>\n\n\n\n<li>Regularly audit credentials<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Setting up Google Sign-In through Google Cloud Console is straightforward <strong>when done correctly<\/strong>. Most failures <span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">occur due to\u00a0<strong>SHA-1 mismatches, incorrect redirect URIs, or missing consent screen configurations<\/strong><\/span>.<\/p>\n\n\n\n<p>Follow this guide step by step, and your Google Login integration will work smoothly across <strong>Android, iOS, Web, and backend systems<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Sign-In is one of the most trusted and widely used authentication methods today. Whether you are building a mobile app, web application, or backend<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[430,429],"tags":[483,480,482,485,486,484,487,475,478,479,476,488,481,477],"class_list":["post-403","post","type-post","status-publish","format-standard","hentry","category-laravel","category-php","tag-android-google-sign-in","tag-flutter-google-sign-in-setup","tag-google-api-credentials-setup","tag-google-authentication-api","tag-google-cloud-console-oauth","tag-google-console-api-setup","tag-google-login-for-apps","tag-google-login-integration","tag-google-oauth-2-0-configuration","tag-google-oauth-client-id","tag-google-sign-in-setup","tag-oauth-consent-screen-google","tag-sign-in-with-google-guide","tag-web-google-oauth-login"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Step-by-Step Guide to Set Up Google Console API for \u201cSign in with Google\u201d - tutorialsmines.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Step-by-Step Guide to Set Up Google Console API for \u201cSign in with Google\u201d - tutorialsmines.com\" \/>\n<meta property=\"og:description\" content=\"Google Sign-In is one of the most trusted and widely used authentication methods today. Whether you are building a mobile app, web application, or backend\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/\" \/>\n<meta property=\"og:site_name\" content=\"tutorialsmines.com\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-20T09:33:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tutorialsmines.com\/blog\/wp-content\/uploads\/2026\/01\/ChatGPT-Image-Jan-20-2026-03_03_19-PM-1024x683.png\" \/>\n<meta name=\"author\" content=\"Maruti_Kr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Maruti_Kr\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/\"},\"author\":{\"name\":\"Maruti_Kr\",\"@id\":\"https:\/\/tutorialsmines.com\/blog\/#\/schema\/person\/1bbf82fe79564d58c87f7076d970a88e\"},\"headline\":\"Step-by-Step Guide to Set Up Google Console API for \u201cSign in with Google\u201d\",\"datePublished\":\"2026-01-20T09:33:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/\"},\"wordCount\":573,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tutorialsmines.com\/blog\/wp-content\/uploads\/2026\/01\/ChatGPT-Image-Jan-20-2026-03_03_19-PM-1024x683.png\",\"keywords\":[\"Android Google Sign-In\",\"Flutter Google Sign-In setup\",\"Google API credentials setup\",\"Google authentication API\",\"Google Cloud Console OAuth\",\"Google Console API setup\",\"Google login for apps\",\"Google login integration\",\"Google OAuth 2.0 configuration\",\"Google OAuth client ID\",\"Google Sign-In setup\",\"OAuth consent screen Google\",\"Sign in with Google guide\",\"Web Google OAuth login\"],\"articleSection\":[\"Laravel\",\"PHP\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/\",\"url\":\"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/\",\"name\":\"Step-by-Step Guide to Set Up Google Console API for \u201cSign in with Google\u201d - tutorialsmines.com\",\"isPartOf\":{\"@id\":\"https:\/\/tutorialsmines.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tutorialsmines.com\/blog\/wp-content\/uploads\/2026\/01\/ChatGPT-Image-Jan-20-2026-03_03_19-PM-1024x683.png\",\"datePublished\":\"2026-01-20T09:33:40+00:00\",\"author\":{\"@id\":\"https:\/\/tutorialsmines.com\/blog\/#\/schema\/person\/1bbf82fe79564d58c87f7076d970a88e\"},\"breadcrumb\":{\"@id\":\"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/#primaryimage\",\"url\":\"https:\/\/tutorialsmines.com\/blog\/wp-content\/uploads\/2026\/01\/ChatGPT-Image-Jan-20-2026-03_03_19-PM.png\",\"contentUrl\":\"https:\/\/tutorialsmines.com\/blog\/wp-content\/uploads\/2026\/01\/ChatGPT-Image-Jan-20-2026-03_03_19-PM.png\",\"width\":1536,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorialsmines.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Step-by-Step Guide to Set Up Google Console API for \u201cSign in with Google\u201d\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tutorialsmines.com\/blog\/#website\",\"url\":\"https:\/\/tutorialsmines.com\/blog\/\",\"name\":\"tutorialsmines.com\",\"description\":\"tutorialsmines blog site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tutorialsmines.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/tutorialsmines.com\/blog\/#\/schema\/person\/1bbf82fe79564d58c87f7076d970a88e\",\"name\":\"Maruti_Kr\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorialsmines.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f034f072d7301d08343a196599eef74e13fea2b75b55086c7dab4c93efb92ec5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f034f072d7301d08343a196599eef74e13fea2b75b55086c7dab4c93efb92ec5?s=96&d=mm&r=g\",\"caption\":\"Maruti_Kr\"},\"sameAs\":[\"https:\/\/tutorialsmines.com\/blog\"],\"url\":\"https:\/\/tutorialsmines.com\/blog\/author\/maruti_kr\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Step-by-Step Guide to Set Up Google Console API for \u201cSign in with Google\u201d - tutorialsmines.com","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:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/","og_locale":"en_US","og_type":"article","og_title":"Step-by-Step Guide to Set Up Google Console API for \u201cSign in with Google\u201d - tutorialsmines.com","og_description":"Google Sign-In is one of the most trusted and widely used authentication methods today. Whether you are building a mobile app, web application, or backend","og_url":"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/","og_site_name":"tutorialsmines.com","article_published_time":"2026-01-20T09:33:40+00:00","og_image":[{"url":"https:\/\/tutorialsmines.com\/blog\/wp-content\/uploads\/2026\/01\/ChatGPT-Image-Jan-20-2026-03_03_19-PM-1024x683.png","type":"","width":"","height":""}],"author":"Maruti_Kr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Maruti_Kr","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/#article","isPartOf":{"@id":"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/"},"author":{"name":"Maruti_Kr","@id":"https:\/\/tutorialsmines.com\/blog\/#\/schema\/person\/1bbf82fe79564d58c87f7076d970a88e"},"headline":"Step-by-Step Guide to Set Up Google Console API for \u201cSign in with Google\u201d","datePublished":"2026-01-20T09:33:40+00:00","mainEntityOfPage":{"@id":"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/"},"wordCount":573,"commentCount":0,"image":{"@id":"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/#primaryimage"},"thumbnailUrl":"https:\/\/tutorialsmines.com\/blog\/wp-content\/uploads\/2026\/01\/ChatGPT-Image-Jan-20-2026-03_03_19-PM-1024x683.png","keywords":["Android Google Sign-In","Flutter Google Sign-In setup","Google API credentials setup","Google authentication API","Google Cloud Console OAuth","Google Console API setup","Google login for apps","Google login integration","Google OAuth 2.0 configuration","Google OAuth client ID","Google Sign-In setup","OAuth consent screen Google","Sign in with Google guide","Web Google OAuth login"],"articleSection":["Laravel","PHP"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/","url":"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/","name":"Step-by-Step Guide to Set Up Google Console API for \u201cSign in with Google\u201d - tutorialsmines.com","isPartOf":{"@id":"https:\/\/tutorialsmines.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/#primaryimage"},"image":{"@id":"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/#primaryimage"},"thumbnailUrl":"https:\/\/tutorialsmines.com\/blog\/wp-content\/uploads\/2026\/01\/ChatGPT-Image-Jan-20-2026-03_03_19-PM-1024x683.png","datePublished":"2026-01-20T09:33:40+00:00","author":{"@id":"https:\/\/tutorialsmines.com\/blog\/#\/schema\/person\/1bbf82fe79564d58c87f7076d970a88e"},"breadcrumb":{"@id":"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/#primaryimage","url":"https:\/\/tutorialsmines.com\/blog\/wp-content\/uploads\/2026\/01\/ChatGPT-Image-Jan-20-2026-03_03_19-PM.png","contentUrl":"https:\/\/tutorialsmines.com\/blog\/wp-content\/uploads\/2026\/01\/ChatGPT-Image-Jan-20-2026-03_03_19-PM.png","width":1536,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/tutorialsmines.com\/blog\/step-by-step-guide-to-set-up-google-console-api-for-sign-in-with-google\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorialsmines.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Step-by-Step Guide to Set Up Google Console API for \u201cSign in with Google\u201d"}]},{"@type":"WebSite","@id":"https:\/\/tutorialsmines.com\/blog\/#website","url":"https:\/\/tutorialsmines.com\/blog\/","name":"tutorialsmines.com","description":"tutorialsmines blog site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tutorialsmines.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/tutorialsmines.com\/blog\/#\/schema\/person\/1bbf82fe79564d58c87f7076d970a88e","name":"Maruti_Kr","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorialsmines.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f034f072d7301d08343a196599eef74e13fea2b75b55086c7dab4c93efb92ec5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f034f072d7301d08343a196599eef74e13fea2b75b55086c7dab4c93efb92ec5?s=96&d=mm&r=g","caption":"Maruti_Kr"},"sameAs":["https:\/\/tutorialsmines.com\/blog"],"url":"https:\/\/tutorialsmines.com\/blog\/author\/maruti_kr\/"}]}},"_links":{"self":[{"href":"https:\/\/tutorialsmines.com\/blog\/wp-json\/wp\/v2\/posts\/403","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tutorialsmines.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tutorialsmines.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tutorialsmines.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tutorialsmines.com\/blog\/wp-json\/wp\/v2\/comments?post=403"}],"version-history":[{"count":1,"href":"https:\/\/tutorialsmines.com\/blog\/wp-json\/wp\/v2\/posts\/403\/revisions"}],"predecessor-version":[{"id":405,"href":"https:\/\/tutorialsmines.com\/blog\/wp-json\/wp\/v2\/posts\/403\/revisions\/405"}],"wp:attachment":[{"href":"https:\/\/tutorialsmines.com\/blog\/wp-json\/wp\/v2\/media?parent=403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorialsmines.com\/blog\/wp-json\/wp\/v2\/categories?post=403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorialsmines.com\/blog\/wp-json\/wp\/v2\/tags?post=403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}