Auto login links via login.jsp with username and password in query string have stopped working

I think this is still supported if you drop the login.jsp and put the query string after the slash:

https://login.salesforce.com/[email protected]&pw=hunter12

Note to other readers wrapping the login process in this way, be VERY particular to use HTTPS!


I believe this is related to Knowledge Article 000229717 - www.salesforce.com API Endpoint Retirement.

Essentially, you need to use https://login.salesforce.com for production and developer edition orgs.

https://login.salesforce.com/login.jsp?pw={password}&un={username}


Since this will likely come up in the near future, I'm also liking to Knowledge Article - 000271648 Logging of Unencrypted Uniform Resource Identifiers (URI)

Salesforce is moving to eliminate the ability for customer credentials to be entered into URIs. Once the plan to retire this capability is finalized, we will share those details and timing with customers.

Tags:

Login