Skip to content

improvement(people): increase 2FA source selection pool on identity-provider integrations (#3350) - #3350

Merged
tofikwest merged 1 commit into
mainfrom
tofik/2fa-source-identity-providers
Jul 6, 2026
Merged

improvement(people): increase 2FA source selection pool on identity-provider integrations (#3350)#3350
tofikwest merged 1 commit into
mainfrom
tofik/2fa-source-identity-providers

Conversation

@tofikwest

@tofikwest tofikwest commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

What

Scopes the People-tab 2FA column's source selector to identity-provider integrations — the systems that authenticate the whole workforce and identify each person by email (Google Workspace, Microsoft Entra ID, JumpCloud, Okta, …).

Why

The 2FA column matches a source's per-user results to org members by email. Identity providers cover every employee and key users by email, so their results line up with the People roster. The selector now gates on the integration's category (Identity & Access) rather than a hand-maintained list of slugs — so any future IdP in that category qualifies automatically, while integrations that merely expose a 2FA check but aren't a workforce identity provider (developer tools, comms apps, etc.) don't.

Changes

  • CheckResultsService: expose the integration category on the bound-source list as descriptive manifest metadata. The service stays feature-agnostic; the filtering decision lives in the feature layer.
  • TwoFactorSourceController: offer and accept only identity-provider sources — both available-2fa-sources and the set validation — via a TWO_FA_SOURCE_CATEGORIES set.

Tests

  • two-factor-source.controller.spec — the selector offers only identity-provider sources; a connected, bound, non-identity provider is rejected on set.
  • check-results.service.speccategory flows through the source list.

23 tests passing. The API typecheck shows no new errors from these files (the repo's existing spec-file typecheck warnings are unrelated and pre-existing on main).

🤖 Generated with Claude Code

@vercel

vercel Bot commented Jul 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
comp-framework-editor Ready Ready Preview, Comment Jul 5, 2026 10:46pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
app Skipped Skipped Jul 5, 2026 10:46pm
portal Skipped Skipped Jul 5, 2026 10:46pm

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 6 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

…ions

Scope the People-tab 2FA column's sources to identity-provider
integrations — the systems that authenticate the whole workforce and key
each person by email (Google Workspace, Microsoft Entra ID, JumpCloud,
Okta, …). Their per-user 2FA results align with the People roster;
integrations that merely expose a 2FA check but aren't a workforce
identity provider don't map cleanly onto members.

- Expose the integration `category` on CheckResultsService's source list
  as descriptive metadata; the service stays feature-agnostic and the
  filtering decision lives in the 2FA feature layer.
- Offer and accept only sources whose category is an identity-provider
  category (currently "Identity & Access") as 2FA sources.

Tests: 2FA controller + check-results service (23 passing).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tofikwest
tofikwest force-pushed the tofik/2fa-source-identity-providers branch from eed3d82 to a1756b5 Compare July 5, 2026 22:45
@vercel
vercel Bot temporarily deployed to Preview – app July 5, 2026 22:45 Inactive
@vercel
vercel Bot temporarily deployed to Preview – portal July 5, 2026 22:45 Inactive
@tofikwest tofikwest changed the title feat(people): base 2FA source selection on directory identity providers feat(people): base 2FA source selection on identity-provider integrations Jul 5, 2026
@tofikwest tofikwest changed the title feat(people): base 2FA source selection on identity-provider integrations improvement(people): increase 2FA source selection pool on identity-provider integrations (#3350) Jul 6, 2026
@tofikwest
tofikwest merged commit 22a7a90 into main Jul 6, 2026
10 checks passed
@tofikwest
tofikwest deleted the tofik/2fa-source-identity-providers branch July 6, 2026 00:11
@claudfuen

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.97.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants