User Identity
New in SA6 **SA6 version introduced**
Purpose
Displays who is currently logged in on the device and their identity-provider (IdP) connectivity/login status, plus a paginated history of past logins. This is a new feature in SA6 — SA5 has no working equivalent (see What's New in SA6). <link to whats new>
Location
ui/userIdentity/ (UserIdentityViewModel, UserIdentityScreen), utils/IdpStatusHelper.kt.
Responsibilities
Read the current logged-in session (user id, username, roles, groups) from the BlueFletch Launcher via LauncherProviderHelper.getCurrentSession.
Surface IdP connectivity/login status for the current session.
Show paginated login history sourced from the local EventHistoryEntry table (the same local event-history store used by Advanced Tools's Database/Event Viewer).
Dependencies
BlueFletch Launcher's ContentProvider (
LauncherProviderConstants.CONFIG_URIfamily) — SA6 does not perform IdP authentication itself; it reads session state the Launcher already established.Local Room EventHistoryEntry table for history.
Troubleshooting
Problem: User Identity screen shows no user / stale user.
Check:
Is the BlueFletch Launcher installed and running on the device?
Is the Launcher's ContentProvider reachable (LauncherProviderHelper.getCurrentSession returning data)?
Has the user actually completed login through the Launcher (vs. SA6 launched standalone without a Launcher session)?
**need to check which version of auth and launcher provider exposes/returns user identity details
Last updated