-
Notifications
You must be signed in to change notification settings - Fork 950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
addAuthDomains
does not add multiple domains
#6356
Comments
This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information. |
@bkendall do you require any other information? |
I'm not able to replicate this (either on It almost sounds like you're seeing a caching issue in the console? If you hard-refresh the console page, does the domain show up after that? It does look like the API call is right, especially if you're seeing the domains get added there; that's why I think it might just be something in the console (and you didn't mention that you ran into this issue from auth not working, another point in favor of maybe just a visualization issue) (And sorry for the delay - I've got a bit on my plate on the moment, so I appreciate your patience) |
Thanks for your reply. I have just tried again: $ npx [email protected] hosting:channel:deploy test-test --expires 7d --project <proj> --json
{
"status": "success",
"result": {
"site0": {
"target": "site0
"site": "site0",
"url": "https://site0--test-test.web.app",
"version": "",
"expireTime": "2023-10-25T06:38:39.946877328Z"
},
"site1": {
"target": "site1",
"site": "site1",
"url": "https://site1--test-test.web.app",
"version": "",
"expireTime": "2023-10-25T06:38:39.949428751Z"
}
}
} If I go to firebase console > Authentication > Settings > Authorized domains, still only Infact if I go to the second site url (https://site1--test-test.web.app) and try to login using google, in the browser console I get:
Is there other information I can provide to help you replicate it? |
Since I can't replicate it, I think I'd need the full The best way to get us logs is probably be to file a ticket with Firebase support for Hosting and you can reference this ticket and let them know I asked for more information, and they should forward it onto our team. |
Thanks for the reply. |
[REQUIRED] Environment info
firebase-tools: 12.5.3
Platform: Ubuntu
[REQUIRED] Test case
Hi,
we have multiple sites defined in our
.firebaserc
, ie:[REQUIRED] Steps to reproduce
If I deploy to a channel:
the logs says that 2 domains have been added but the firebase console, "Authorized domains", shows only the first site.
Instead if I deploy each site separately:
now both sites shows in the firebase console.
Now if I rerun:
the second site disappear from the "Authorized domains" list.
[REQUIRED] Expected behavior
Both sites are in the "Authorized domains" list
[REQUIRED] Actual behavior
Only 1 site is in "Authorize domains" list
The text was updated successfully, but these errors were encountered: