Skip to content

site: display warning when the chosen IDP role, group or org in the table does not match an existing claim field value #82

Closed
coder/coder
#16485
@Kira-Pilot

Description

@Kira-Pilot

The goal of this task is to display a warning indicator/message next to the IDP role, group or org name in the table if that value does not exist in the claim field values as returned from the API.

The claim field values API expects a claim field and the simplest way to provide that is to use the value entered in the sync field.

The error message could be something like "org/group/role claims field does not exist".

See idpSyncClaimFieldValues API here
https://github.com/coder/coder/blob/951a8ed98df5f1da1cce9fd6ab10a1d4828059cf/enterprise/coderd/idpsync.go#L811

Figma Link: https://www.figma.com/design/DDdfRMoFIvJo1XkxW1lW11/Idp-Organizations-Sync-Wireframe?node-id=164-2057&t=yUGGOWwHtqshj6PQ-1

Image

Metadata

Metadata

Assignees

Labels

coder-uiFrontend tasks for coder/coder

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions