Skip to content

1.150

Choose a tag to compare

@github-actions github-actions released this 02 Oct 20:28
6008968

Version 7.1.150 - 2026-10-02

Summary

This pull request adds comprehensive MFA, passkey, SSO, shared-device session, security, and desktop authentication support across the IC application. It also improves logout cleanup, cache isolation, date/time input, onboarding responsiveness, logging safety, and Electron security.

Authentication and MFA

  • Added login transaction support for second-factor authentication:
  • TOTP
  • Passkeys
  • Responder approval
  • Federated/provider verification
  • Recovery codes
  • Added authenticator setup when a department requires MFA but the account is not yet enrolled.
  • Added localized handling for MFA, passkey, SSO, recovery, and session errors.
  • Added “I lost my authenticator” recovery:
  • Validates a recovery code.
  • Stages a replacement authenticator.
  • Allows selected passkeys to be removed.
  • Displays newly generated recovery codes once.
  • Added account security management for:
  • Authenticator enrollment and recovery codes.
  • IC passkeys.
  • Passkey renaming, revocation, and approval permissions.
  • Responder approval installations.
  • Linked identity providers.
  • Recent authentication activity and “This wasn’t me” reporting.
  • Added fresh password, passkey, and identity-provider verification before account security changes.

Passkeys and brokered SSO

  • Added native passkey support through react-native-passkey.
  • Added browser passkey support through WebAuthn for secure web contexts.
  • Added PKCE-based brokered SSO with:
  • State validation.
  • One-time authorization codes.
  • Platform-specific return targets.
  • Ephemeral browser sessions on shared installations.
  • Added SSO return handling for web and native platforms.
  • Added department SSO discovery normalization for PascalCase API responses, department tokens, broker availability, and SAML start URLs.
  • Added RelayState protection for SAML flows to prevent callbacks that were not initiated by the application.
  • Added desktop legacy SSO support:
  • OIDC authorization-code flow with PKCE.
  • SAML relay handling.
  • Custom resgridic://auth/callback links.
  • Browser-based provider authentication.
  • Single-instance handling on macOS, Windows, and Linux.
  • Added a one-time loopback listener for brokered desktop SSO using 127.0.0.1.

Shared-device sessions

  • Added shared-device configuration with optional installation labels.
  • Added shared-session lifecycle management:
  • Locks restored sessions on shared installations.
  • Locks sessions when the app is backgrounded on native platforms.
  • Polls session status and idle/shift deadlines.
  • Reports operator activity without treating polling as activity.
  • Stops realtime hubs while locked.
  • Added a shared-session status bar showing:
  • Installation label.
  • Time until idle lock.
  • Idle-lock warnings.
  • Shift-ending warnings.
  • Lock, stay signed in, switch operator, and end-shift actions.
  • Added a lock screen that unlocks the same session using:
  • TOTP.
  • Passkeys.
  • Responder approval.
  • Federated SSO.
  • Locked shared sessions now retain tokens without signing out. Expired shifts sign out with a shift_ended reason.
  • Advanced data-protection grants are cleared whenever a shared session locks.

Security and data isolation

  • Added the X-Resgrid-Client: ic header to identify IC requests.
  • Added shared-installation and device metadata headers where applicable.
  • Added HTTP 401 handling for locked and expired shared sessions without incorrectly refreshing or signing out.
  • Application-specific 401 problem responses are now passed through without token refresh or request replay.
  • Scoped API cache entries by server, department, and signed-in user to prevent data from one account or environment being shown to another.
  • Expanded logout cleanup to:
  • Remove stored credentials.
  • Clear cached data and React Query state.
  • Reset session-scoped stores.
  • Disconnect realtime hubs.
  • Stop location updates.
  • Clear push notification tokens, badges, and delivered notifications.
  • Registered the complete app-data reset with the auth store so all logout paths use the same cleanup process.
  • Restricted Electron external links to http and https URLs only.
  • Improved logging sanitization:
  • Redacts credentials, tokens, usernames, sessions, SAML values, and other sensitive fields.
  • Removes query strings from logged URLs.
  • Converts Axios errors to safe summaries.
  • Reports sanitized exceptions to Sentry while preserving error type and stack information.
  • Fixed record upload hashing to pass a plain Uint8Array to Expo’s native crypto bridge.

UI and usability

  • Added shared-device settings to the login and settings screens.
  • Added the account security screen and recovery-code presentation components.
  • Added a reusable date/time picker for date, time, and datetime values:
  • Calendar-based selection without keyboard entry.
  • Cancel and clear actions.
  • Leap-year and end-of-month handling.
  • Local date/time editing without changing stored timestamps.
  • Replaced manual time text fields in time reports with the date/time picker while preserving overnight end times.
  • Updated record date and datetime fields to use the picker.
  • Updated operations deployment date selection to use the picker.
  • Reworked onboarding into a responsive, scrollable layout supporting:
  • Small screens.
  • Landscape and tablet layouts.
  • Larger font scales.
  • Horizontal swipes without interfering with vertical scrolling.
  • Added root-level web authentication-session completion and new login routes for recovery, shared devices, and SSO returns.
  • Moved full app-data reset registration into the root layout so it is available before any logout path is triggered.

Initialization and testing

  • Fixed app initialization so feature flags and data-protection capabilities are both awaited before SignalR connections begin.
  • Added extensive unit, component, Electron, integration, and optional live-server coverage for:
  • MFA transactions.
  • Passkeys.
  • Brokered and legacy SSO.
  • SAML RelayState validation.
  • Shared sessions.
  • Logout and cleanup behavior.
  • Cache scoping.
  • Secure logging.
  • Date/time selection.
  • Onboarding layout behavior.
  • External-link validation.
  • Added Jest mocks for native Expo application, crypto, and passkey modules.