Authorization with Firebase
To set up authorization, start by creating a new project in Firebase:
Create a Firebase project
Go your project on Firebase (opens in a new tab) and create a new project.

iOS Setup
Add a new iOS app
In the Firebase console, add a new iOS app:

-
Register your app β Enter your appβs Bundle ID.
-
Download the Firebase config file (GoogleService-Info.plist).

- Open your iOS project in Xcode by running:
npx cap open ios
- Put downloaded config file into the root of Xcode project

Install Firebase SDK
-
Open your project in Xcode.
-
Navigate to File > Add Package Dependencies.
-
When prompted, enter the Firebase iOS SDK repository URL:
https://github.com/firebase/firebase-ios-sdk
- Click Add Package and install the necessary Firebase modules.

Google Sign-in method
-
Enable Google Sign-in in the Firebase authentication settings.
-
Download the updated Firebase config file and replace the old one in your Xcode project.
Configure Custom URL Schemes in Xcode
To set up URL schemes for Google Sign-in:
- Open Xcode and navigate to your project settings.
- Select your app from the TARGETS section.
- Go to the Info tab and expand the URL Types section.
- Click the + button and add a new URL scheme using your REVERSED_CLIENT_ID.
- You can find this value in GoogleService-Info.plist under REVERSED_CLIENT_ID.
- Copy and paste it into the URL Schemes field.
- Leave the other fields blank.
[video explaining how to do that]
Web Setup
Add a new Web app

Update values in .env.local
Take these Firebase Auth config values and paste them in your .env.example

