Skip to content

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 (mfa === 'NOT_USED') {

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I feel it makes it less readable... else makes it clear it's exclusive to the blocks above, especially for multiple if-else-ifs

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ie I agree it is "textually" (in execution) superfluous but I think it is sub-textually substantial

@dauglyon dauglyon merged commit 1c330b6 into main Dec 4, 2025
4 checks passed
@dauglyon dauglyon deleted the add-mfa-status-indicators branch December 4, 2025 21:15
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.

3 participants