Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1734)

Unified Diff: appengine/swarming/elements/res/imp/common/swarming-app.html

Issue 2242543002: Make OAuth client id accessible to new ui w/o hardcoding (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: Address nits Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/swarming/elements/res/imp/common/swarming-app.html
diff --git a/appengine/swarming/elements/res/imp/common/swarming-app.html b/appengine/swarming/elements/res/imp/common/swarming-app.html
index 071fb9dc821654e4fbbe11429a54b386aa76bfce..27031dcb305d13a65aeda1ed2d19205ba603313e 100644
--- a/appengine/swarming/elements/res/imp/common/swarming-app.html
+++ b/appengine/swarming/elements/res/imp/common/swarming-app.html
@@ -82,10 +82,9 @@
<a class="left" href="/newui/">Home</a>
<a class="left" href="/newui/botlist">Bot List</a>
<div class="flex"></div>
- <!-- TODO(kjlubick) Remove this hard-coded client-id.-->
<auth-signin
class="right"
- client-id="20770472288-t5smpbpjptka4nd888fv0ctd23ftba2o.apps.googleusercontent.com"
+ client-id="[[client_id]]"
auth-headers="{{auth_headers}}"
signed-in="{{signed_in}}">
</auth-signin>
@@ -101,6 +100,9 @@
Polymer({
is: 'swarming-app',
properties: {
+ client_id: {
+ type: String,
+ },
auth_headers: {
type: Object,
notify: true,

Powered by Google App Engine
This is Rietveld 408576698