{"id":70,"date":"2020-04-01T08:38:55","date_gmt":"2020-04-01T08:38:55","guid":{"rendered":"https:\/\/docs.theironnetwork.org\/hulk\/?page_id=70"},"modified":"2020-04-13T11:45:06","modified_gmt":"2020-04-13T11:45:06","slug":"authentication","status":"publish","type":"page","link":"https:\/\/docs.theironnetwork.org\/hulk\/authentication\/","title":{"rendered":"Authentication"},"content":{"rendered":"\n<p> Here is a step by step instructions to use authentication in your template. <\/p>\n\n\n\n<h4> Authentication With Firebase <\/h4>\n\n\n\n<p> To add Firebase to your app, you\u2019ll need a Firebase project, Firebase  SDK and a short snippet of initialization code that has a few details about your project. <\/p>\n\n\n\n<ol><li> Create a Firebase project in the <a rel=\"noreferrer noopener\" href=\"https:\/\/console.firebase.google.com\/\" target=\"_blank\">Firebase console<\/a>, if you don\u2019t already have one. <ol><li> If you already have an existing Google project associated with your app,  click Import Google Project. Otherwise, click Create New Project. <\/li><li> If you already have apps in your project, click Add Another App from the project overview page. <\/li><\/ol><\/li><li> Click Add Firebase to your web app. <\/li><li> Copy the initialization code snippet, we will use this code in the next step. <\/li><li> Open the file <code>src-&gt;firebase-&gt;index.js<\/code> and search for the <code>const firebaseconfig<\/code> &amp; paste the code inside it: <\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"474\" src=\"https:\/\/docs.theironnetwork.org\/hulk\/wp-content\/uploads\/sites\/13\/2020\/04\/2020-04-01_14-17-31-1024x474.png\" alt=\"\" class=\"wp-image-77\" srcset=\"https:\/\/docs.theironnetwork.org\/hulk\/wp-content\/uploads\/sites\/13\/2020\/04\/2020-04-01_14-17-31-1024x474.png 1024w, https:\/\/docs.theironnetwork.org\/hulk\/wp-content\/uploads\/sites\/13\/2020\/04\/2020-04-01_14-17-31-300x139.png 300w, https:\/\/docs.theironnetwork.org\/hulk\/wp-content\/uploads\/sites\/13\/2020\/04\/2020-04-01_14-17-31-768x356.png 768w, https:\/\/docs.theironnetwork.org\/hulk\/wp-content\/uploads\/sites\/13\/2020\/04\/2020-04-01_14-17-31.png 1348w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Firebase Initialisation  <\/figcaption><\/figure>\n\n\n\n<h4> Removing Firebase Authentication <\/h4>\n\n\n\n<p> If you want to remove the firebase authentication from your existing template then please follow this link <a rel=\"noreferrer noopener\" href=\"https:\/\/docs.theironnetwork.org\/reactify\/faqsfrequently-asked-questions\/\" target=\"_blank\">Completely Remove Firebase From Template<\/a> and follow the steps given. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is a step by step instructions to use authentication in your template. Authentication With Firebase To add Firebase to your app, you\u2019ll need a Firebase project, Firebase SDK and a short snippet of initialization code that has a few details about your project. Create a Firebase project in the Firebase console, if you don\u2019t [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/docs.theironnetwork.org\/hulk\/wp-json\/wp\/v2\/pages\/70"}],"collection":[{"href":"https:\/\/docs.theironnetwork.org\/hulk\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.theironnetwork.org\/hulk\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/hulk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.theironnetwork.org\/hulk\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":6,"href":"https:\/\/docs.theironnetwork.org\/hulk\/wp-json\/wp\/v2\/pages\/70\/revisions"}],"predecessor-version":[{"id":79,"href":"https:\/\/docs.theironnetwork.org\/hulk\/wp-json\/wp\/v2\/pages\/70\/revisions\/79"}],"wp:attachment":[{"href":"https:\/\/docs.theironnetwork.org\/hulk\/wp-json\/wp\/v2\/media?parent=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}