Commit 847b500
chore(sso-ui): integrate Test Login + align fields with proposal
- Wire SSO Test Login to PR #27336's backend: TestLoginButton
(OIDC/SAML hidden-form-POST popup + LDAP credential modal) and a
ClaimSelector modal that auto-populates adminPrincipal (email
local-part) and principalDomain from the chosen email claim. Drop the
old broken call to /security/config/test.
- Make oidcConfiguration.secret optional with a recommended hint;
auto-derive clientType from secret presence; hide the manual radio.
- Drop adminPrincipals + principalDomain from authorizerConfiguration
required[] so initial save isn't blocked. Hide them during the
new-config flow; keep main tier so they surface once Test Login fills.
- Strip oidcConfiguration from the schema for SAML/LDAP to stop RJSF
materializing defaults inside a hidden subtree.
- Hide root-level OIDC mirrors and tenant per the field-layout
proposal; surface preferredJwsAlgorithm in advanced; remove in-form
callbackUrl (the read-only display beside the form is the source).
- Fix TestLoginButton formData prop shape so SAML/LDAP click paths
route correctly; vertically center action-bar buttons.
- Sync 19 new i18n keys across the 17 locales.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 9cebb7b commit 847b500
11 files changed
Lines changed: 985 additions & 215 deletions
File tree
- openmetadata-spec/src/main/resources/json/schema
- configuration
- security/client
- openmetadata-ui/src/main/resources/ui/src
- components/SettingsSso
- SSOConfigurationForm
- TestLogin
- constants
- locale/languages
- rest
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
Lines changed: 47 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
110 | 155 | | |
111 | 156 | | |
112 | 157 | | |
| |||
266 | 311 | | |
267 | 312 | | |
268 | 313 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | 314 | | |
275 | 315 | | |
276 | 316 | | |
| |||
2158 | 2198 | | |
2159 | 2199 | | |
2160 | 2200 | | |
2161 | | - | |
2162 | | - | |
2163 | | - | |
2164 | | - | |
2165 | | - | |
2166 | | - | |
2167 | | - | |
2168 | | - | |
2169 | | - | |
2170 | | - | |
2171 | | - | |
2172 | | - | |
2173 | | - | |
2174 | | - | |
2175 | | - | |
2176 | | - | |
2177 | | - | |
2178 | | - | |
2179 | | - | |
2180 | | - | |
2181 | | - | |
2182 | | - | |
2183 | | - | |
2184 | | - | |
2185 | | - | |
2186 | | - | |
2187 | | - | |
| 2201 | + | |
2188 | 2202 | | |
2189 | 2203 | | |
2190 | 2204 | | |
| |||
2194 | 2208 | | |
2195 | 2209 | | |
2196 | 2210 | | |
2197 | | - | |
2198 | 2211 | | |
2199 | 2212 | | |
2200 | 2213 | | |
| |||
0 commit comments