open-consul/ui-v2/app
John Cowen 412eec7f5d UI: Improved Login/Logout flow inc SSO support (#7790)
* 6 new components for new login/logout flow, plus SSO support

UI Components:

1. AuthDialog: Wraps/orchestrates AuthForm and AuthProfile
2. AuthForm: Authorization form shown when logged out.
3. AuthProfile: Simple presentational component to show the users
'Profile'
4. OidcSelect: A 'select' component for selecting an OIDC provider,
dynamically uses either a single select menu or multiple buttons
depending on the amount of providers

Data Components:

1. JwtSource: Given an OIDC provider URL this component will request a
token from the provider and fire an donchange event when it has been
retrieved. Used by TokenSource.
2. TokenSource: Given a oidc provider name or a Consul SecretID,
TokenSource will use whichever method/API requests required to retrieve
Consul ACL Token, which is emitted to the onchange event handler.

Very basic README documentation included here, which is likely to be
refined somewhat.

* CSS required for new auth/SSO UI components

* Remaining app code required to tie the new auth/SSO work together

* CSS code required to help tie the auth/SSO work together

* Test code in order to get current tests passing with new auth/SSO flow

..plus extremely basics/skipped rendering tests for the new components

* Treat the secret received from the server as the truth

Previously we've always treated what the user typed as the truth, this
breaks down when using SSO as the user doesn't type anything to retrieve
a token. Therefore we change this so that we use the secret in the API
response as the truth.

* Make sure removing an dom tree from a buffer only removes its own tree
2020-05-12 17:14:51 +00:00
..
adapters UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
components UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
computed ui: UI Release Merge (ui-staging merge) (#6527) 2019-09-30 14:47:49 +01:00
controllers UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
forms ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
helpers ui: Create PopoverSelect, CatalogToolbar, and update tests (#7489) 2020-05-12 17:14:48 +00:00
initializers ui: Model Layer for SSO Support (#7771) 2020-05-12 17:14:41 +00:00
instance-initializers ui: Per Service Intentions Tab (#7615) 2020-05-12 17:14:26 +00:00
mixins ui: Use DataSources in ACLs area (#7681) 2020-05-12 17:14:29 +00:00
models ui: Model Layer for SSO Support (#7771) 2020-05-12 17:14:41 +00:00
routes UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
routing ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
search/filters ui: Add ability to search nodes listing page with IP Address (#7204) 2020-02-04 10:45:25 -05:00
serializers ui: Model Layer for SSO Support (#7771) 2020-05-12 17:14:41 +00:00
services UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
styles UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
templates UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
utils UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
validations ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
app.js ui: Upgrade to ember 3.16 Octane Edition (#7334) 2020-05-12 17:14:10 +00:00
env.js ui: Improve configuration/env/feature flag usage (also add build time year detection) (#7072) 2020-01-21 17:52:40 +00:00
index.html ui: Keyboard navigation improvements (#7090) 2020-01-20 14:15:15 +00:00
router.js ui: Redesign - Instance Detail Proxy Info tab (#7745) 2020-05-12 17:14:46 +00:00