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

Add support for Auth (authentication) emulator #123

Open
penguisnt opened this issue Aug 10, 2023 · 2 comments · May be fixed by #142
Open

Add support for Auth (authentication) emulator #123

penguisnt opened this issue Aug 10, 2023 · 2 comments · May be fixed by #142

Comments

@penguisnt
Copy link

Currently there is not support for the Auth emulator, although there is support for the Firestore emulator.

This means that testing locally when you have storage security rules won't work, or you'll need to disable the rules.

It also means that login/logout always uses the production endpoints and the user IDs wont match any local Firestore data.

@penguisnt
Copy link
Author

Here is the changes I made locally to add support for auth (hardcoded localhost and port 9099), feel free to take as much of this as you want for yourself and merge it in, I unfortunately do not have the bandwidth for tests+pull request.

Note this also includes fixes for Firestore .stream issues

https://github.com/penguisnt/firedart

@cachapa
Copy link
Owner

cachapa commented Aug 11, 2023

This is great, thanks!

Looking over your changes, they seem to make sense but they're also a single commit and a bit hard to follow the context for the changes.

I understand the lack of bandwidth but this repository depends on community contributions so I would ask if you could at least start a couple of organized PRs that make it easier to take over?
I think it would also make sense to attribute those changes to you.

I personally no longer use Firebase myself, but I keep maintaining this project since it still fills a niche in the Dart ecosystem.
For that, I hope that users of the package help fill the missing gaps so that every one benefits from it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants