Skip to content

WIP | user auth#209

Closed
bootstraponline wants to merge 5 commits into
masterfrom
update
Closed

WIP | user auth#209
bootstraponline wants to merge 5 commits into
masterfrom
update

Conversation

@bootstraponline

@bootstraponline bootstraponline commented Jun 12, 2018

Copy link
Copy Markdown
Contributor

Fix #196

private class BillingQuotaProject internal constructor() : GoogleClientRequestInitializer {
override fun initialize(request: AbstractGoogleClientRequest<*>) {
// TODO: read project id from config
request.requestHeaders.set("X-Goog-User-Project", "delta-essence-114723")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"delta-essence-114723" is your firebase project id?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yeah, this is WIP. It'll be read from the config before merging.

@bootstraponline

Copy link
Copy Markdown
Contributor Author

To simplify the user experience, we're going to support service account authentication only. Service accounts are the official recommended way of testing in CI. There isn't a strong value proposition for adding an additional auth mechanism that doesn't work in CI.

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 this pull request may close these issues.

3 participants