Skip to content
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

Allow overriding the host for firebase auth request #1742

Closed
anta-semenov opened this issue Jul 1, 2020 · 2 comments
Closed

Allow overriding the host for firebase auth request #1742

anta-semenov opened this issue Jul 1, 2020 · 2 comments

Comments

@anta-semenov
Copy link

What feature would you like to see?

Please allow overriding the host for auth requests to enable developers using their own reverse proxy in places where securetoken.googleapis.com or www.gooleapis.com are blocked.
This is related to ios sdk issue firebase/firebase-ios-sdk#4987

but at least on ios it's possible to make a fork of the repo and do these changes by ourselves. With android sdk it seems it's not possible to make fork of firebase auth library.

How would you use it?

I would set this proxy to point my app to my reverse proxy to be able to use firebase auth in places where official google hosts are blocked

@google-oss-bot
Copy link
Contributor

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@ashwinraghav
Copy link
Contributor

Thanks for the feature request.
Overriding the host is not really an option for the Android since Google play services has policies that prevent us from communicating to arbitrary backends. We do have some work in progress to decouple auth from play services, at which point this may be possible. At this point, we would also be open sourcing the Auth SDK. That would help you too.
For now, closing is as a duplicate of #125. Pls upvote there :)

@firebase firebase locked and limited conversation to collaborators Aug 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants