Firestore Auth
​https://firebase.google.com/docs/firestore/quickstart​
See next steps in firestorm https://firebase.google.com/docs/firestore/quickstart#next_steps​
​Handle the sign-in flow with the Firebase SDK​
​
​https://firebase.google.com/docs/auth/web/start​
​firebaseui​
​Using FirebaseUI Auth, on the Web - Firecasts​
​Role-Based Authorization with Firestore​
​7 tips on Firebase security rules and the Admin SDK​
​Controlling Data Access Using Firebase Auth Custom Claims (Firecasts)​
​Integrating back-end systems with Firebase for better app management (Firebase Summit 2018)​
Create a form that allows new users to register with your app using their email address and a password. When a user completes the form, validate the email address and password provided by the user, then pass them to the createUserWithEmailAndPassword method:
Can use Firebase UI instead?
​github comment, redirect sign in url​
signInSuccessUrl: function(currentUser, credential, redirectUrl) {// No redirect.return false;},