Skip to content

firebase init Hosting: GitHub Actions auth redirect fails in GitHub Codespace #3922

@markgoho

Description

@markgoho

[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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions