-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add multitenancy dashboard (#144)
* Add tenant management page * Fix icons * Fetch tenants on load * Add login methods for tenants * Add search input component * Integrate search component * Add tenants not found state * Update changelog * Add create new tenant flow * Change TenantManagement component to use arrow function * Handle other errors when creating tenant * Handle tenant row click * Add get tenant info API * Fetch tenant details and handle loading and error states * Add tenant detail header * Add core config section * Add initial core config section * Add toggle component * Finish core config UI * Wrap up the core config section * Add first and secondary factors section UI * Integrate adding core config * Handle property delete * Handle saving config properties * Fetch core config from the API * Integrate MFA * Integrate see users button * Make details page responsive * Add warning about MFA recipe * Handle delete tenant * Add third party section * Add third party provider listing section * 'Add third-party provider configuration UI * Add client configuration collapsible section * Improve toggle focus visuals * Update third party UI to work with custom fields * Handle crud operations for built in providers * Use core APIs for core config list * Build custom provider UI * Fix types * Refactor field inputs * Integrate custom providers section * Add prefix to third party field * Add additional scopes to the client config * Handle merging providers based on different providers in core and static * Handle no login methods state * Show relevant errors when no login methods added * Add dialog to prompt adding providers when none added yet. * Add SAML provider configuration handling * Refactor tenant API routes for core config list eg/ fetching URL change needed. Fix missing data fetch when listing tenants. * Remove the method to read initialized recipe from window * Show relevant errors directly from core when creating tenant * Use tenant id from path * Add different error states for login methods * Move search state up the tree * Update tenant detail and login methods API and fix type errors * Integrate core config section * WIP: Third party provider integration * Merge provider forms * Finish third party integration * Update third party API * Move providers list to dialog * API updates * Fixes for provider form * Ask for tenantId when deleting tenant * Add edit plugin property modal * Use name instead of id for third party providers section * Remove mocks for third party APIs * Move require email outside userInfoMap * Login methods section add API call to individual toggle * Update example and copy for core config * Update core config API * Fix styling issues and removed unused components * Revert server file * Revert error on success in login methods * fix: test cases for tenant management dashboard * Update core config UI * Fix responsiveness * Use svg for all third party provider icons * Review updates * New UI for third party id suffix * Login methods review updates and minor CSS fixes * fix: core config * fix: as per updated apis * fix: multiline input for apple private key * fix: services cleanup * fix: create tenant * fix: create tenant * fix: error messages * fix: pr comments * fix: third party id prefix * fix: pr comments * fix: pr comments * fix: error message * 💇♂️ Remove body scroll from dialog, by default * 💇♀️ Remove overflow from dashboard layout * 🛠 Close modal when overlay is clicked, by default * 💇♀️ Fix layout style * 💇♀️ Fix tenant page responsiveness * 💇♀️ Fix third-party login responsiveness * 📝 Update changelog * fix: remove msg * fix: minor fixes * fix: version update * fix: provider form * fix: name dropdown for boxy saml * fix: remove openid * fix: apple * fix: name compulsory for custom provider * fix: mfa override error * fix: Convert 'select" element to 'input' element (#148) * fix overflowing text * Use convert select element to an input-dropdown * Use 100% width for dropdown options * revert changelog changes * fix: type * fix: scope normalisation * fix: minor --------- Co-authored-by: Sattvik Chakravarthy <[email protected]> Co-authored-by: Favour Ohans <[email protected]> Co-authored-by: Sattvik Chakravarthy <[email protected]>
- Loading branch information
1 parent
5f6c604
commit 7a9ba91
Showing
137 changed files
with
8,152 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.