エラー内容
1)ReactプロジェクトでFirebaseの「Authentication」でユーザー認証(Googleでログイン)を実装
2)ローカルから「GitHub Pages」に公開したところ、「irebaseError: Firebase: Error (auth/unauthorized-domain).」のエラー発生
解決方法
1)Firebaseの「Authentication」設定の「承認済みドメイン」より「ドメインの追加」をクリック

2)利用ドメインを入力(今回の場合は<GitHubアカウント名>.github.io)したところ、正常にログイン処理ができました
参考サイト
auth/unauthorized-domainエラーについて
https://zenn.dev/somahc/articles/fad4b865ee44ea