Skip to main content

Username and password parameters no longer works in the login URL

 

Before Winter 22 release, Salesforce allowed the user to login by using a username and password as GET query string parameters to the login URL.  This provided a useful trick where users normally bookmark the login url with credentials for easily login into different orgs.

Login URL : https://<SFDC Instance Url>/

Parameters

1. Un - Username
2. pw - password

e.g. login directly into production org.

https://login.salesforce.com/?un=yourname%40salesforce.com&pw=test12345

As per the Winter 22 release

To improve the security, Users can no longer log in to Salesforce by using a username and password as GET query string parameters to the login URL. Users who attempt to log in using a GET query string are redirected to a login page. 


Thank you for your time in reading this. Cheers :)

Comments