Files
nomad/ui/app/utils
Buck Doyle 7af5afb58d 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
..
2019-05-20 11:52:47 -07:00
2017-10-12 17:40:49 -07:00
2020-06-09 16:03:28 -05:00
2017-09-19 10:08:23 -05:00
2017-10-05 14:39:37 -07:00
2020-03-24 18:22:16 -05:00
2018-01-17 09:02:04 -08:00
2018-03-02 16:21:34 -08:00