Data Loader OAuth login fails with error "Can't access this page We don't support this browser"
Last updated 13 days ago ·Reference W-9213394 ·Reported By 4 users
In Review
Summary
When non Admin users attempt to use the OAuth login option with Data Loader on Windows machines, they may encounter the following error message that prevents log in.
Can't access this page
We don't support this browser. Try opening this page in a supported browser.
Data Loader uses SWT to render web pages. Eclipse SWT uses IE 11 as the default browser when Data Loader instantiates SWT Browser widget to display OAuth login page.
Reference: https://www.eclipse.org/swt/faq.php#browsernativeie
This configuration worked properly prior to Salesforce ending "Extended Support for Accessing Lightning Experience Using Microsoft Internet Explorer 11"
Reference: https://help.salesforce.com/apex/HTViewSolution?urlname=Extended-Support-for-Accessing-Lightning-Experience-Using-Microsoft-Internet-Explorer-version-11&language=en_US
However, for standard Lightning only users (who have the "Hide Option to Switch to Salesforce Classic" profile permission) IE11 is not a supported browser as per the "Supported Browsers and Devices for Lightning Experience" documentation:
https://help.salesforce.com/articleView?id=sf.getstart_browsers_sfx.htm&type=5
Repro
1. Clone the Standard User profile and enable the "Hide Option to Switch to Salesforce Classic" permission.
2. Using a Windows machine, attempt to use Data Loader's OAuth login option.
Actual Results: Non Admin users (without the profile permissions "Modify All Data", "Customize Application", or "Manage Users") will receive the following error message:
Can't access this page
We don't support this browser. Try opening this page in a supported browser.
Expected Results: Data Loader would allow users to successfully authenticate using OAuth.
Workaround
1. On a Windows machine in the search box on the taskbar, type "environment" and open the "Edit environment variables for your account" menu option.
2. In the top User variable section Click the New... button and input the following values and then click OK:
Variable name: JAVA_TOOL_OPTIONS
Variable value: -Dorg.eclipse.swt.browser.IEVersion=12001
3. Restart your machine and re-launch Data Loader.
OR
Login to Data Loader directly using Salesforce credentials or disable the "Hide Option to Switch to Salesforce Classic" profile permission for affected users.
Reported By (4)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.
