Skip to content

fix: use isMfaEnabled configuration flag with disabled button state and tooltip#2297

Merged
demolaf merged 8 commits into
version-10.0.0-beta02from
fix-mfa-config
Jan 2, 2026
Merged

fix: use isMfaEnabled configuration flag with disabled button state and tooltip#2297
demolaf merged 8 commits into
version-10.0.0-beta02from
fix-mfa-config

Conversation

@demolaf
Copy link
Copy Markdown
Member

@demolaf demolaf commented Dec 29, 2025

Changes

  • Implements proper handling for isMfaEnabled configuration flag
  • Adds disabled button state with tooltip when MFA is disabled
  • Exposes configuration to custom authenticated content via AuthSuccessUiContext
  • Prevents navigation to MFA enrollment screen when MFA is disabled
  • Added fui_mfa_disabled_tooltip string resource to all 85 language files
  • e2e tests for MFA disabled functionality

Fixes #2296

…er.Google

- The `applicationId` parameter has been removed from the `AuthProvider.Facebook` constructor. Configuration values (`facebook_application_id`, `facebook_login_protocol_scheme`, and `facebook_client_token`) are now exclusively read from `strings.xml`.
- The `serverClientId` for the Google provider is now automatically populated from `R.string.default_web_client_id` if it is not explicitly provided.
- Added validation to ensure `facebook_client_token` and `facebook_login_protocol_scheme` are configured in `strings.xml`.
- Updated tests to use resource files for provider configuration instead of constructor arguments.
- Updated `README.md` to reflect the new configuration requirements, including adding `facebook_client_token`.
…during sign-in

- Add filterByAuthorizedAccounts and autoSelectEnabled properties to AuthProvider.Google
…se configuration to custom authenticated content
@demolaf demolaf marked this pull request as draft December 29, 2025 17:34
Base automatically changed from fix-provider-config to version-10.0.0-beta02 January 2, 2026 17:02
@demolaf demolaf merged commit bc10ca9 into version-10.0.0-beta02 Jan 2, 2026
5 checks passed
@demolaf demolaf deleted the fix-mfa-config branch January 2, 2026 17:03
@demolaf demolaf mentioned this pull request Jan 2, 2026
thatfiredev pushed a commit that referenced this pull request Mar 13, 2026
…nd tooltip (#2297)

* fix: initialize serverClientId to default_web_client_id in AuthProvider.Google

- The `applicationId` parameter has been removed from the `AuthProvider.Facebook` constructor. Configuration values (`facebook_application_id`, `facebook_login_protocol_scheme`, and `facebook_client_token`) are now exclusively read from `strings.xml`.
- The `serverClientId` for the Google provider is now automatically populated from `R.string.default_web_client_id` if it is not explicitly provided.
- Added validation to ensure `facebook_client_token` and `facebook_login_protocol_scheme` are configured in `strings.xml`.
- Updated tests to use resource files for provider configuration instead of constructor arguments.
- Updated `README.md` to reflect the new configuration requirements, including adding `facebook_client_token`.

* fix: fallback to all Google accounts if no authorized accounts found during sign-in

- Add filterByAuthorizedAccounts and autoSelectEnabled properties to AuthProvider.Google

* fix: disable Manage MFA button and show tooltip when MFA is disabled

* fix: implement MFA configuration disabled state with tooltip and expose configuration to custom authenticated content

* fix CI

* test: ignore flaky onManageMfa test due to CI timing issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants