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

642    Asked by ClareMatthews in Salesforce , Asked on Aug 2, 2021

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?

Answered by Asistha pandey

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

https://login.salesforce.com/?un=daniel@example.com&pw=hunter12

Note to other readers wrapping the login process for www salesforce com login in this way, be very particular to use HTTPS!



Your Answer

Interviews

Parent Categories