title: Uncaught TypeError: firebase.auth is not a function
body: <p>I try to build an authentification app with firebase (email &amp; password) but i have problem with firebase methods.
  When I call firebase.auth, they said "it's not a function". Is it because my project and firebase SDK are not linked ?</p>
  
  <p>Do you have some suggestions ? :)</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="fr"&gt;
    &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
  
    &lt;!-- The core Firebase JS SDK is always required and must be listed first --&gt;
  &lt;script src="https://www.gstatic.com/firebasejs/7.6.0/firebase-app.js"&gt;&lt;/script&gt;
  
  &lt;!-- TODO: Add SDKs for Firebase products that you want to use
       https://firebase.google.com/docs/web/setup#available-libraries --&gt;
  &lt;script src="https://www.gstatic.com/firebasejs/7.6.0/firebase-analytics.js"&gt;&lt;/script&gt;
  
  &lt;script&gt;
    // Your web app's Firebase configuration
    var firebaseConfig = {
      apiKey: "secret",
      authDomain: "secret",
      databaseURL: "secret",
      projectId: "secret",
      storageBucket: "secret",
      messagingSenderId: "secret",
      appId: "secret",
      measurementId: "secret"
    };
    // Initialize Firebase
    firebase.initializeApp(firebaseConfig);
    firebase.analytics();
  &lt;/script&gt;
  
    &lt;!--Stylesheet CSS --&gt; 
    &lt;link rel="stylesheet" href="../css/main.css"&gt;
  
        &lt;title&gt;Inscription&lt;/title&gt;
  
  &lt;/head&gt;
  
  &lt;body&gt;
  
    &lt;form id="formSignUp" method="POST" onsubmit="signUp()"&gt;
      &lt;input type="text" id="form_input_mail" name="mail" placeholder="E-mail" size= "30"&gt;
      &lt;input type="password" id="form_input_password" name="password" placeholder="Mot de passe" 
        size= "30"&gt;
      &lt;button type="submit" id="button_orange_center"&gt; Suivant&lt;/button&gt;
    &lt;/form&gt;
    &lt;script&gt;
        function signUp(){
        firebase.auth().createUserWithEmailAndPassword(form_input_mail, form_input_password)
      .catch(function(error) {
    // Handle Errors here.
      var errorCode = error.code;
      var errorMessage = error.message;
      if (errorCode == 'auth/weak-password') {
        alert('The password is too weak.');
      } else {
        alert(errorMessage);
      }
      console.log(error);
    });
  }
    &lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  
  </code></pre>