Description
When trying to sign up or log in on the deployed website (https://aistockanalyzer.onrender.com/), Firebase authentication fails with the error message:
Firebase: Error (auth/unauthorized-domain).
This happens for both Google Sign-In and Email/Password methods, preventing users from logging in or creating an account.
Where is the issue?
select Frontend or backend
Steps to Reproduce
Example:
- Go to https://aistockanalyzer.onrender.com/
- Click on Signup or Login
- Try to sign in using Google or Email/Password
- Observe the error message:
Firebase: Error (auth/unauthorized-domain).
Screenshots
Environment
- OS: Windows 11
- Browser: Microsoft Edge (Chromium)
- Device: Desktop
Additional Notes
The issue occurs because the deployed domain (aistockanalyzer.onrender.com) is not added to Firebase → Authentication → Settings → Authorized Domains.
To fix this, the admin should add the Render domain to the Firebase authorized domains list.