Skip to content

Conversation

JohnsonEricAtSalesforce
Copy link
Contributor

🎸 Ready For Review 🥁

This brings the fix for front door bridge login and advanced authentication from #2762 into a stand-alone pull request.

…er for user authentication on Android" is enabled users logging in via QR code still challenged with browser login
fetchAuthenticationConfiguration {
if (isBrowserLoginEnabled) {
/* Browser-based authentication is applicable when not authenticating with a front-door bridge URL */
if (isBrowserLoginEnabled && !viewModel.isUsingFrontDoorBridge) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since the front door bridge URL will sign the user in automatically, there's no need to display the native browser for username and password authentication if the view model indicates a front door bridge is in use. Note, this property on the view model is only set for the lifetime of a single front door bridge login event.

Copy link
Contributor

@brandonpage brandonpage Sep 12, 2025

Choose a reason for hiding this comment

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

Thank you for that note, it preempted the question I was going to ask. 🚀

Copy link
Contributor Author

Choose a reason for hiding this comment

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

🤣 You asked the same question on the previous pull request. We're creatures of habit!

@JohnsonEricAtSalesforce
Copy link
Contributor Author

I cherry-picked this to Salesforce app's current MSDK fork and verified my Advanced Authentication enabled app, user and org was able to log in successfully.

@JohnsonEricAtSalesforce
Copy link
Contributor Author

Note: This pull request supersedes #2762 until the requirements for further changes are fully defined.

@JohnsonEricAtSalesforce
Copy link
Contributor Author

The CI test failures are inherited from dev and not related to this change.

@JohnsonEricAtSalesforce JohnsonEricAtSalesforce merged commit b302878 into forcedotcom:dev Sep 15, 2025
4 of 6 checks passed
@JohnsonEricAtSalesforce JohnsonEricAtSalesforce deleted the bugfix/w-19628153_android-qrcode-when-auth-config-use-the-native-browser-for-user-authentication-on-android-is-enabled-users-logging-in-via-qr-code-still-challenged-with-browser-login branch September 15, 2025 16:09
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