Skip to content

fix(auth): improve user identifier retrieval#2314

Merged
demolaf merged 2 commits intoversion-10.0.0-beta03from
ui-fixes
Apr 9, 2026
Merged

fix(auth): improve user identifier retrieval#2314
demolaf merged 2 commits intoversion-10.0.0-beta03from
ui-fixes

Conversation

@demolaf
Copy link
Copy Markdown
Member

@demolaf demolaf commented Apr 8, 2026

This fixes the empty identifier displayed in the default authenticated UI state composable in FirebaseAuthScreen for "Signed in as UID".

Closes #2296

@demolaf demolaf changed the base branch from master to version-10.0.0-beta03 April 8, 2026 15:25
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a displayIdentifier() extension for FirebaseUser to centralize the logic for retrieving a displayable identifier, ensuring that blank strings are treated as missing values. The reviewer suggests refining this by making the extension support nullable FirebaseUser objects and adding a getDisplayEmail helper to further simplify call sites and remove redundant null-safety checks across the codebase.

@demolaf demolaf merged commit 60edc2d into version-10.0.0-beta03 Apr 9, 2026
5 checks passed
@demolaf demolaf deleted the ui-fixes branch April 9, 2026 15:27
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.

[Auth-UI] [10.0.0-beta01] Unable to disable MFA; Can't log in with facbook account with no email

2 participants