firebase / firebase/firebase-tools
firebase init Hosting: GitHub Actions auth redirect fails in GitHub Codespace
Open
api: hosting
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.3k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 84
Description
### [REQUIRED] Environment info
**firebase-tools:** 9.23.0
**Platform:** Ubuntu in GitHub Codespaces
### [REQUIRED] Test case
`npx firebase init` with GitHub actions option selected fails at the authorization step
### [REQUIRED] Steps to reproduce
run `npx firebase init` from terminal in codespace, select Hosting: GitHub Actions option, redirect fails because it tries to return to localhost:9005 instead of the codespace url
### [REQUIRED] Expected behavior
Authentication works even in a GitHub codespace
### [REQUIRED] Actual behavior
Authentication fails
Contributor guide
Assessment
This issue has not been assessed yet.