Swarming new UI: sign in does not work on local deve server |
|||
Issue descriptionWhat steps will reproduce the problem? (1) $ cd appengine/swarming (2) $ ./tools/gae dev (3) open http://localhost:8080 (4) Click "Sign in" What is the expected output? UI opens sign in view What do you see instead? Nothing changes
,
Oct 27 2016
It probably doesn't know how to handle the absence of a client ID (that we provide via configs in real deployments, e.g. https://chrome-internal.googlesource.com/infradata/config/+/master/configs/chromium-swarm/settings.cfg#11). I guess we can create and hardcode a development client ID with http://localhost:8080 redirect URL?.. Similarly, other (unconfigured) instances of Swarming server are probably broken too (now or after they are updated).
,
Oct 27 2016
We already have one of those. https://pantheon.corp.google.com/apis/credentials?project=chromium-swarm-dev the web oauth for /newui/* is configured for localhost:8080 and localhost:9050
,
Oct 27 2016
workaround: echo 'ui_client_id: "20770472288-t5smpbpjptka4nd888fv0ctd23ftba2o.apps.googleusercontent.com' > appengine/swarming/configs/services/swarmingserver/CONFIGS/settings.cfg
,
Oct 27 2016
oops forgot a quote in the end of the file contents
,
Oct 27 2016
,
Nov 16 2016
I think the workaround suggested by nodir is a reasonable longish term solution to this problem. |
|||
►
Sign in to add a comment |
|||
Comment 1 by mar...@chromium.org
, Oct 27 2016