title: How can I add a "I accept the terms & privacy policy" checkbox to Google Firebase Authentication UI?
body: <p>GDPR in the EU requires us to have an opt-in checkbox for the "terms" and "privacy policy" users accept when signing up. Using the Firebase Authentication UI (<a href="https://firebase.google.com/docs/auth/web/firebaseui" rel="nofollow noreferrer">FirebaseUI</a>), I don't get this by default. How can I add such a checkbox to FirebaseUI?</p>
  
  <p>To clarify: The tosUrl provided by FirebaseUI is not enough for this. The GDPR requires <a href="https://termsfeed.com/blog/gdpr-privacy-policy/#Getting_Consent" rel="nofollow noreferrer">clear, unambiguous and affirmative consent</a> – in short: they need to actively check a checkbox. We can't just accept terms implicitly by signing up.</p>
  
  <p>So how do I get an (unchecked) checkbox for users to accept terms and privacy policy? Or do I really have to build a custom UI? I can't believe that Google would not support the GDPR…</p>