You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an org has implemented SSO login for some users but authentication must occur as a non-SSO user, the browser opens to allow sign in, but redirects to SSO login page.
Steps To Reproduce:
Configure Single Sign-On settings in Setup
Disable login with Salesforce credentials = true
SAML enabled = true
Add SSO provider to SAML Single Sign-On Settings
Create a user with a System Administrator profile, and set Is Single Sign-On = false for the Sys Admin profile
Enter command sfdx force:auth:web:login --setalias alias --instanceurl https://customdomain.lightning.force.com?login --setdefaultusername
Expected result
Show Salesforce login page
Actual result
IF browser was already opened and user was already signed in, a new browser tab opens to the already-logged in org and user. The "auth an org" operation in VS Code continues to spin and never receives the message that sign-in was completed.
IF user was not signed in already in browser, a new browser tab opens and redirects to the SSO login page
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
Summary
When an org has implemented SSO login for some users but authentication must occur as a non-SSO user, the browser opens to allow sign in, but redirects to SSO login page.
Steps To Reproduce:
sfdx force:auth:web:login --setalias alias --instanceurl https://customdomain.lightning.force.com?login --setdefaultusername
Expected result
Show Salesforce login page
Actual result
IF browser was already opened and user was already signed in, a new browser tab opens to the already-logged in org and user. The "auth an org" operation in VS Code continues to spin and never receives the message that sign-in was completed.
IF user was not signed in already in browser, a new browser tab opens and redirects to the SSO login page
System Information
sfdx-cli/7.94.3-a4e7c7955b win32-x64 node-v14.15.4
The text was updated successfully, but these errors were encountered: