open-nomad/ui/app
Buck Doyle 6d67e90763
Add exchange of one-time token on UI load (#10066)
This adds UI support for receiving the one-time token passed via query parameter, as in #10134
and related PRs, and exchanging it for its corresponding secret ID. When this works, it’s mostly
invisible, with a brief flash of the OTT onscreen.

The authentication failure message now suggests the -authenticate flag.

When OTT exchange fails, it shows a whole-page error.

This includes a known UX shortcoming in that the OTT will not disappear from the URL when an
identifier is specified on the command line, like nomad ui -authenticate jobname. The goal is to
address that shortcoming in a forthcoming pull request.
2021-04-01 13:21:30 -05:00
..
abilities
adapters Add exchange of one-time token on UI load (#10066) 2021-04-01 13:21:30 -05:00
components Use common helpers and utils for formatting hertz 2021-03-31 09:29:14 -07:00
controllers Add exchange of one-time token on UI load (#10066) 2021-04-01 13:21:30 -05:00
helpers Use common helpers and utils for formatting hertz 2021-03-31 09:29:14 -07:00
initializers
mixins Update Ember/Ember CLI to 3.20 (#9641) 2021-02-17 15:01:44 -06:00
models add on update to services table in allocation details (#10153) 2021-03-11 12:28:38 -05:00
modifiers
routes Add exchange of one-time token on UI load (#10066) 2021-04-01 13:21:30 -05:00
serializers Update Ember/Ember CLI to 3.20 (#9641) 2021-02-17 15:01:44 -06:00
services Add exchange of one-time token on UI load (#10066) 2021-04-01 13:21:30 -05:00
styles Add exchange of one-time token on UI load (#10066) 2021-04-01 13:21:30 -05:00
templates Add exchange of one-time token on UI load (#10066) 2021-04-01 13:21:30 -05:00
utils Add exchange of one-time token on UI load (#10066) 2021-04-01 13:21:30 -05:00
app.js Update Ember/Ember CLI to 3.20 (#9641) 2021-02-17 15:01:44 -06:00
breakpoints.js
index.html
router.js Update Ember/Ember CLI to 3.20 (#9641) 2021-02-17 15:01:44 -06:00