mirror of
https://github.com/coder/coder.git
synced 2026-06-06 14:38:23 +00:00
7f44189ed2
contributes to coder/internal#330 For organizations IdP sync: 1. when the sync field is set, call the claim field values API to see if the sync field is a valid claim field and return an array of claim field values 2. If there are 1 or more claim field values, replace the input component for entering the IdP organization name with a combobox populated with the claim field values 3. The user can now select a value from the dropdown or enter a custom value Tests will be added in a separate PR The same functionality for Group and Role sync will be handled in a separate PR. <img width="832" alt="Screenshot 2025-02-04 at 17 45 42" src="https://github.com/user-attachments/assets/d9123260-f6c6-4914-869b-f11b14773ea1" /> <img width="786" alt="Screenshot 2025-02-04 at 17 45 58" src="https://github.com/user-attachments/assets/06138320-d50c-43bd-b2b9-676ffee42e1a" /> <img width="810" alt="Screenshot 2025-02-04 at 17 46 14" src="https://github.com/user-attachments/assets/50b74909-4629-435d-9774-67d281bbc442" /> <img width="825" alt="Screenshot 2025-02-04 at 17 52 08" src="https://github.com/user-attachments/assets/7470281e-e88f-497b-a613-52bf8007dae8" />