diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-04-24 17:03:17 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-04-25 19:07:44 +0300 |
commit | 224afe3b367cba9b978115e969e714c14c71caa6 (patch) | |
tree | 89f578874c9e75b6ebb93f46f5ecddfb8d94adf0 /yarns/900-local.yarn | |
parent | df60c28287900478ced251123c9887e61e0dc17c (diff) | |
download | ick2-224afe3b367cba9b978115e969e714c14c71caa6.tar.gz |
Change: GET /work, POST /worker use access token to identify worker
Diffstat (limited to 'yarns/900-local.yarn')
-rw-r--r-- | yarns/900-local.yarn | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yarns/900-local.yarn b/yarns/900-local.yarn index 9ec0dcb..b8b6695 100644 --- a/yarns/900-local.yarn +++ b/yarns/900-local.yarn @@ -35,11 +35,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. argv = [ os.path.join(srcdir, 'create-token'), scopes, + user, ] token = cliapp.runcmd(argv, feed_stdin=key) store_token(user, token) vars['issuer'] = 'localhost' - vars['audience'] = 'localhost' + vars['audience'] = user ## Controller configuration |