-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI: Improved Login/Logout flow inc SSO support #7790
Commits on May 11, 2020
-
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.
John Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 7d024e3 - Browse repository at this point
Copy the full SHA 7d024e3View commit details -
CSS required for new auth/SSO UI components
John Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 795afa9 - Browse repository at this point
Copy the full SHA 795afa9View commit details -
Remaining app code required to tie the new auth/SSO work together
John Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 9be492a - Browse repository at this point
Copy the full SHA 9be492aView commit details -
CSS code required to help tie the auth/SSO work together
John Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 2440da9 - Browse repository at this point
Copy the full SHA 2440da9View commit details -
Test code in order to get current tests passing with new auth/SSO flow
..plus extremely basics/skipped rendering tests for the new components
John Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 49e56d8 - Browse repository at this point
Copy the full SHA 49e56d8View commit details -
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.
John Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for f4cf5b9 - Browse repository at this point
Copy the full SHA f4cf5b9View commit details -
Tweak some styling and reorg, add a header to the new error page
John Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for ecee000 - Browse repository at this point
Copy the full SHA ecee000View commit details -
Changes OIDC
RedirectURL
to/oidc/redirect.html
John Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 595cb9c - Browse repository at this point
Copy the full SHA 595cb9cView commit details -
Move OIDC redirect to
oidc/callback
+ dev support due to no cont-typeJohn Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 9fe536a - Browse repository at this point
Copy the full SHA 9fe536aView commit details -
Make the api and contextual components a little more sane
Move everything that gets exported to the top level component itself
John Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 72a2a76 - Browse repository at this point
Copy the full SHA 72a2a76View commit details -
John Cowen committed
May 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 1d2b6d7 - Browse repository at this point
Copy the full SHA 1d2b6d7View commit details -
Cleanup, a11y improvements, address FIXMEs
John Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 94abace - Browse repository at this point
Copy the full SHA 94abaceView commit details -
Re-remove some CSS following rebase
John Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 6cf973f - Browse repository at this point
Copy the full SHA 6cf973fView commit details -
Temporarily fix up some buttons
John Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 5fea299 - Browse repository at this point
Copy the full SHA 5fea299View commit details -
Checking undefined won't work whilst in testing change to a null check
John Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for cef15e4 - Browse repository at this point
Copy the full SHA cef15e4View commit details -
Make sure removing an dom tree from a buffer only removes its own tree
John Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for f97501e - Browse repository at this point
Copy the full SHA f97501eView commit details -
Stop torii from outputing an unconfigured message
John Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for 896c21c - Browse repository at this point
Copy the full SHA 896c21cView commit details -
Add a few more model layer tests and stubs
John Cowen committedMay 11, 2020 Configuration menu - View commit details
-
Copy full SHA for e3fc659 - Browse repository at this point
Copy the full SHA e3fc659View commit details -
John Cowen committed
May 11, 2020 Configuration menu - View commit details
-
Copy full SHA for df3ed3f - Browse repository at this point
Copy the full SHA df3ed3fView commit details