6

I have a number of hyperlinks for logging into various orgs that look like:

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

When I left work on Friday they were working fine. Today when I tried to use one I was redirected to https://login.salesforce.com rather than being logged in.

Why have these links stopped working?

1
  • 1
    Ah, I see now the www subdomain as opposed to the login subdomain. Commented Mar 6, 2016 at 20:21

2 Answers 2

6

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!

1
  • 2
    Interesting, I didn't know the login.jsp part could be omitted. The note about https is definitely important. Commented Mar 6, 2016 at 21:14
4

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .