open-nomad/ui/mirage
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
..
data Move resource generation helper to a common place 2018-04-20 18:10:41 -07:00
factories Add exchange of one-time token on UI load (#10066) 2021-04-01 13:21:30 -05:00
models csi/api: populate ReadAllocs/WriteAllocs fields (#9377) 2020-11-25 16:44:06 -05:00
scenarios Add query parameter to override Mirage scenario (#9380) 2020-11-30 08:12:15 -06:00
serializers Fix allocation count in CSI volumes table (#9515) 2020-12-07 08:51:41 -06:00
common.js Migrate to the new resources properties for allocs and nodes 2020-10-15 02:54:16 -07:00
config.js Add exchange of one-time token on UI load (#10066) 2021-04-01 13:21:30 -05:00
faker.js Add DAS UI code from enterprise (#9192) 2020-10-29 07:46:42 -05:00
utils.js UI: Change Mirage data to be stable in development (#6389) 2019-10-03 09:13:08 -05:00