is it possible to make this scenario with Firebase Auth en Firebase Cloud functions?
- User opens my app and chooses for create account
- Submits their email adres in the app
- User is added in Firebase Auth (cloud function?)
- LoginCode or password is created (cloud function?)
- LoginCode or password is mailed to the users mail adres (cloud function?)
User submits the LoginCode word password in the app and is authenticated by Firebase Auth.
Is this possible?
The idea is that user must use a valid mail address, otherwise they cannot use the app. Or are there easier ways to do this?