Chapter 10: Handling Authentication and Firebase with SwiftUI
Since the creation of the mobile apps market, one of the most important features most apps utilize is authentication.
The normal way app creators ensure authentication is provided is by ensuring 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. Because creating a new profile for each app we use is a repetitive process, we could be tempted to reuse a password we've already used somewhere else. For example, if a data breach occurs on any of the apps we've used and we've used the password for that app elsewhere, our other accounts that use that password are vulnerable to being hacked.
To overcome this problem...