Skip to main content

Posts

Showing posts with the label Firebase - Facebook Authentication

How To Implements Security in Firebase?

The Security in Firebase is handled by security rules in the setting the JSON and it can be found when we click on Database inside the side menu and then RULES in tab bar. Read and Write - {    "rules" : {       "users" : {          "$uid" : {             ".write" : "$uid === auth.uid" ,             ".read" : true          }               }    } } Validate - {    "rules" : {       "todo" : {          ".validate" : "yourData.isString()"       }         } } Stayed Informed - Firebase Tutorial for Android and IOS I ho...

How To Enable Facebook Authentication in Firebase?

Firebase - Facebook Authentication - There are following steps involved to Enable Facebook Authentication in Firebase i.e. 1.      Enable Facebook Auth 2.      Create Facebook App 3.      Connect to Facebook SDK 4.      Create Buttons 5.      Create Auth Functions Enable Facebook Auth – In the Sign-In method tab, enable the Facebook sign-in method and specify the App-ID and App Secret you got from Facebook. Create Facebook App – For create facebook app, visit facebook’s developers site                              - https://developers.facebook.com/ Now, you find input field Valid OAuth redirect URIs where you need to copy the OAuth Redirect URI from Firebase. Connect to Facebook SDK – Use the below code to connect to Facebook < script >    window . fbAsyncInit = function ...