You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UI: (Enterprise) Login form customization feature (hashicorp#30700)
* add request for custom login settings to auth route
* add tests to page integration before updating logic
* make tab component tests
* move form state logic to parent page component
* test updates for sanitizing query param in auth route
* add custom login feature
* add test for fetching login settings on ent only
* add changelog
* reword changelog
* rename variable from showOtherMethods to showAlternateView
* cleanup store
* cleanup comments per PR feedback
* abc
* VAULT-34672 render line breaks in description
* update endpoints after testing with live api
* add test coverage
* word
* remove backup types from test-ns for testing
* change to manually log in
* add error handling for no login settings
* add inheritance badge and make list item linkable
**Login form customization** (enterprise): Adds support to choose a default and/or backup auth methods for the web UI login form to streamline the web UI login experience.
@@ -29,71 +27,82 @@ import type { HTMLElementEvent } from 'vault/forms';
29
27
* dynamically renders the corresponding form.
30
28
*
31
29
*
30
+
* @param {object | null} alternateView - if an alternate view exists, this is the `FormView` (see interface below) data to render that view.
32
31
* @param {string} canceledMfaAuth - saved auth type from a cancelled mfa verification
33
32
* @param {object} cluster - The route model which is the ember data cluster model. contains information such as cluster id, name and boolean for if the cluster is in standby
34
-
* @param {object} directLinkData - mount data built from the "with" query param. If param is a mount path and maps to a visible mount, the login form defaults to this mount. Otherwise the form preselects the passed auth type.
33
+
* @param {object} defaultView - The `FormView` (see the interface below) data to render the initial view.
35
34
* @param {function} handleNamespaceUpdate - callback task that passes user input to the controller and updates the namespace query param in the url
35
+
* @param {object} initialFormState - sets selectedAuthMethod and showAlternateView based on the login form configuration computed in parent component
36
36
* @param {string} namespaceQueryParam - namespace query param from the url
37
37
* @param {string} oidcProviderQueryParam - oidc provider query param, set in url as "?o=someprovider". if present, disables the namespace input
38
38
* @param {function} onSuccess - callback after the initial authentication request, if an mfa_requirement exists the parent renders the mfa form otherwise it fires the authSuccess action in the auth controller and handles transitioning to the app
39
-
* @param {object} visibleMountsByType - auth methods to render as tabs, contains mount data for any mounts with listing_visibility="unauth"
39
+
* @param {array} visibleMountTypes - array of auth method types that have mounts with listing_visibility="unauth"
0 commit comments