title: How to set Firebase Database URL (Unity)
body: <p>I'm trying to create a login with Facebook with Firebase.
  My login function is:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>public void FacebookLogin()
      {
          var perms = new List&lt;string&gt;() { "public_profile", "email" };
          FB.LogInWithReadPermissions(perms, AuthCallback);
  
          if (FB.IsLoggedIn)
          {
              
              string aToken = Facebook.Unity.AccessToken.CurrentAccessToken.UserId;
              Firebase.Auth.FirebaseAuth auth = Firebase.Auth.FirebaseAuth.DefaultInstance;
  
              Firebase.Auth.Credential credential = Firebase.Auth.FacebookAuthProvider.GetCredential(aToken);
             
              auth.SignInWithCredentialAsync(credential).ContinueWith(task =&gt; {
                  if (task.IsCanceled)
                  {
                      Debug.LogError("SignInWithCredentialAsync was canceled.");
                      return;
                  }
                  if (task.IsFaulted)
                  {
                      Debug.LogError("SignInWithCredentialAsync encountered an error: " + task.Exception);
                      return;
                  }
                  
                  Firebase.Auth.FirebaseUser newUser = task.Result;
                  Debug.LogFormat("User signed in successfully: {0} ({1})",
                      newUser.DisplayName, newUser.UserId);
              });
  
  
  
          }
  
         
      }</code></pre>
  </div>
  </div>
  </p>
  <p>My problem is the warning &quot;Database URL not set in the Firebase config.&quot;, followed by a SignInWithCredentialAsync error (System.AggregateException).
  How can I change the URL in Firebase config? Where is this Firebase config located?
  I'm a newbie in coding, thanks for the support.</p>
  <p>I should manage to link all the Id app, Oauth etc correctly( i hope so), I believe the problem is caused by the empty URL for firebase db.</p>