Handling Authentication and Firebase with SwiftUI
Since the creation of the mobile app market, one of the most important features that most apps utilize is authentication. The normal way in which app creators handle the authentication is by ensuring that the user creates a new profile in the app they are using. However, this creates some problems regarding the user-friendliness of the app. This is because before the user can use the app, they must do something that could be considered time-consuming, which means they might leave the app without using it.
There are also security concerns here. Creating a new profile for each app we use is a repetitive process, and we could be tempted to reuse a password that we’ve already used somewhere else. For example, if a data breach occurs on any of the apps we’ve used, and the password for that app has been used elsewhere, all our other accounts that use that password are vulnerable to being hacked.
To overcome this problem...