Skip to content

Add MFA status indicators to login sessions #250

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dauglyon
Copy link
Collaborator

@dauglyon dauglyon commented Jul 18, 2025

Adds support for the new auth2 mfa feature kbase/auth2#471. Should only be merged and deployed after auth2#471 is merged and deployed in all environments.

  • Add mfaAuthenticated field to token type definitions
  • Create MfaStatusIndicator component with color-coded icons
  • Add MFA Status column to both Current and Other login session tables
  • Display green check (MFA used), red check (single factor), or grey check (not supported)
  • Include tooltips for each status type
  • Only show indicators for Login token types

dauglyon added 2 commits July 17, 2025 18:29
- Add mfaAuthenticated field to token type definitions
- Create MfaStatusIndicator component with color-coded icons
- Add MFA Status column to both Current and Other login session tables
- Display green check (MFA used), red check (single factor), or grey check (not supported)
- Include tooltips for each status type
- Only show indicators for Login token types
<FontAwesomeIcon icon={faCheck} style={{ color: 'green' }} />
</Tooltip>
);
} else if (mfaAuthenticated === false) {

Choose a reason for hiding this comment

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

no need to use else if the previous statement was a return

<FontAwesomeIcon icon={faCheck} style={{ color: 'red' }} />
</Tooltip>
);
} else {

Choose a reason for hiding this comment

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

ditto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants