Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web login flow with MFA takes you to Salesforce Classic #265

Closed
JimBTek opened this issue Jan 13, 2022 · 2 comments
Closed

Web login flow with MFA takes you to Salesforce Classic #265

JimBTek opened this issue Jan 13, 2022 · 2 comments

Comments

@JimBTek
Copy link

JimBTek commented Jan 13, 2022

Version: Salesforce Mobile SDK - ReactNative SDK 9.2.1 (latest)

Issue:

the MFA login flow is cumbersome and redirects user to Salesforce Classic embedded in app window instead of the app.

Steps to Reproduce:

  • give force.com users a permission set that enforces MFA with the System Permission "Multi-Factor Authentication for User Interface Logins"
  • clear oauth connections from user
  • log out of app
  • start a clean login
  • After user/password and email verification code it forces / prompts to setup Salesforce authenticator or pick another option
  • In this scenario I tested with Microsoft Authenticator by copy and paste the secret key
  • it worked but forwarded me to salesforce classic within the app window
  • swiping closed the app forced me to fully sign in again with user / pass / authenticator verification code
  • app works as expected at this point
@brandonpage
Copy link
Contributor

@JimBTek Is this consistency reproducible? A server bug that redirects the webview to Salesforce classic has existed for a very long time but it has never been fixed due to it occurring very rarely.

@JimBTek
Copy link
Author

JimBTek commented Feb 5, 2022 via email

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

No branches or pull requests

2 participants