Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export function SetupAccessWrapper({
break;
}

const ssoUserWithAutoDiscover = wantAutoDiscover && isSsoUser;
return (
<Box maxWidth="700px">
<Header>Set Up Access</Header>
Expand All @@ -143,7 +144,14 @@ export function SetupAccessWrapper({
disableProceed={
attempt.status === 'failed' ||
attempt.status === 'processing' ||
!hasTraits
// Only block on no traits, if the user is not a SSO user
// and did not enable auto discover.
// SSO user's cannot currently add traits and the SSO user
// may already have set upped traits in their roles, but we
// currently don't have a way to retrieve all the traits from
// users roles - in which the user can end up blocked on this step
// with "no traits".
(!ssoUserWithAutoDiscover && !hasTraits)
}
/>
</Box>
Expand Down