Skip to content

Auth Emulator support #6402

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

Merged
merged 13 commits into from
Sep 10, 2020
Merged

Auth Emulator support #6402

merged 13 commits into from
Sep 10, 2020

Conversation

rosalyntan
Copy link
Member

@rosalyntan rosalyntan commented Sep 4, 2020

Implement support for the auth emulator. The entry point is in an internal header for now, and will be moved to the public header when ready for release.

@google-oss-bot
Copy link

1 Warning
⚠️ Did you forget to add a changelog entry? (Add #no-changelog to the PR description to silence this warning.)

Generated by 🚫 Danger

@rosalyntan rosalyntan marked this pull request as ready for review September 9, 2020 01:56
@rosalyntan rosalyntan requested a review from renkelvin September 9, 2020 01:57
@rosalyntan
Copy link
Member Author

Test failure looks to be a transient failure, from hitting Facebook's API request limit.

Copy link
Member

@yuchenshi yuchenshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The terms used are really confusing here, so let's clear them up a bit.

  • http://localhost:9000/foo/bar/baz <-- URL or URI, whichever is consistent with existing code
  • localhost <--- Host (a.k.a. "hostname")
  • 9000 <--- Port
  • localhost:9000 <--- hostAndPort (a.k.a. as just "host" in RFC for URLs, but that's not consistent with the iOS SDK terms)

Please rename variables accordingly. e.g. requestConfiguration.emulatorURL should be renamed to emulatorHostAndPort, or just keep two separate variables. This will make templating much much easier to reason about.

@rosalyntan rosalyntan merged commit 984098d into master Sep 10, 2020
@rosalyntan rosalyntan deleted the rosalyntan.emulator branch September 10, 2020 23:15
@firebase firebase locked and limited conversation to collaborators Oct 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants