{"id":891,"date":"2025-07-16T08:29:43","date_gmt":"2025-07-16T08:29:43","guid":{"rendered":"https:\/\/documentation.iqonic.design\/frezka-saas\/?p=891"},"modified":"2025-12-22T13:12:30","modified_gmt":"2025-12-22T13:12:30","slug":"how-to-create-a-google-cloud-project-enable-oauth","status":"publish","type":"post","link":"https:\/\/documentation.iqonic.design\/frezka-saas\/how-to-create-a-google-cloud-project-enable-oauth\/","title":{"rendered":"How to Create a Google Cloud Project &amp; Enable OAuth?"},"content":{"rendered":"<div class=\"nolwrap\">\n<h3 class=\"wp-block-heading\"><strong>Create a Google Cloud Project &amp; Enable OAuth<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the Google Cloud Console.<\/li>\n\n\n\n<li>Create a new project or select an existing one.<\/li>\n\n\n\n<li>Navigate to&nbsp;<strong>APIs &amp; Services<\/strong>&nbsp;\u2192&nbsp;<strong>Credentials<\/strong>.<\/li>\n\n\n\n<li>Click&nbsp;<strong>Create Credentials<\/strong>&nbsp;\u2192&nbsp;<strong>OAuth Client ID<\/strong>.<\/li>\n\n\n\n<li>Configure the consent screen:\n<ul class=\"wp-block-list\">\n<li>Select&nbsp;<strong>External<\/strong>&nbsp;(if targeting multiple users) or&nbsp;<strong>Internal<\/strong>&nbsp;(if only for your organization).<\/li>\n\n\n\n<li>Fill in app details (App name, logo, domain, privacy policy, etc.).<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Choose&nbsp;<strong>Application type<\/strong>&nbsp;\u2192&nbsp;<strong>Web Application<\/strong>&nbsp;(or Android\/iOS if applicable).<\/li>\n\n\n\n<li>Add&nbsp;<strong>Authorized Redirect URIs<\/strong>&nbsp;(e.g.,&nbsp;<code>http:\/\/localhost:3000\/auth\/callback<\/code>&nbsp;for development).<\/li>\n\n\n\n<li>Click&nbsp;<strong>Create<\/strong>, then save your&nbsp;<strong>Client ID<\/strong>&nbsp;and&nbsp;<strong>Client Secret<\/strong>.<\/li>\n\n\n\n<li>Add the credentials in .env file.<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">GOOGLE_ACTIVE=true<br>GOOGLE_CLIENT_ID=<br>GOOGLE_CLIENT_SECRET=<br>GOOGLE_REDIRECT_URI=<br><\/pre>\n\n\n\n<div class=\"wp-block-stackable-text stk-block-text stk-block stk-dbed059\" data-block-id=\"dbed059\"><p class=\"stk-block-text__text\"><strong>Note: Put Client ID as Public Key &amp; Client Secret as Secret Key<\/strong> from admin login.<br><strong>Client ID \u2192 <\/strong>Public Key<br><strong>Client Secret \u2192 <\/strong>Secret Key<\/p><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1598\" height=\"640\" src=\"https:\/\/documentation.iqonic.design\/frezka-saas\/wp-content\/uploads\/sites\/7\/2025\/12\/image.png\" alt=\"\" class=\"wp-image-892\" \/><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Create a Google Cloud Project &amp; Enable OAuth GOOGLE_ACTIVE=trueGOOGLE_CLIENT_ID=GOOGLE_CLIENT_SECRET=GOOGLE_REDIRECT_URI= Note: Put Client ID as Public Key &amp; Client Secret as Secret Key from admin login.Client ID \u2192 Public KeyClient Secret \u2192 Secret Key<\/p>\n","protected":false},"author":11,"featured_media":0,"parent":584,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-891","post","type-post","status-publish","format-standard","hentry","category-frezka-saas"],"featured_image_src":null,"author_info":{"display_name":"laraveladminiq","author_link":"https:\/\/documentation.iqonic.design\/frezka-saas\/author\/laraveladminiq\/"},"children":[],"_links":{"self":[{"href":"https:\/\/documentation.iqonic.design\/frezka-saas\/wp-json\/wp\/v2\/posts\/891","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentation.iqonic.design\/frezka-saas\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.iqonic.design\/frezka-saas\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka-saas\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka-saas\/wp-json\/wp\/v2\/comments?post=891"}],"version-history":[{"count":4,"href":"https:\/\/documentation.iqonic.design\/frezka-saas\/wp-json\/wp\/v2\/posts\/891\/revisions"}],"predecessor-version":[{"id":899,"href":"https:\/\/documentation.iqonic.design\/frezka-saas\/wp-json\/wp\/v2\/posts\/891\/revisions\/899"}],"up":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka-saas\/wp-json\/wp\/v2\/posts\/584"}],"wp:attachment":[{"href":"https:\/\/documentation.iqonic.design\/frezka-saas\/wp-json\/wp\/v2\/media?parent=891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka-saas\/wp-json\/wp\/v2\/categories?post=891"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/frezka-saas\/wp-json\/wp\/v2\/tags?post=891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}