Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Hot answers tagged

15 votes
Accepted

remove advertising on login page of Salesforce

If you have SSO then I assume you have My Domain enabled. In the My Domain setup you can set the right frame URL, if it's blank it loads the ad from Salesforce. I would point it to some internal page ...
user avatar
  • 3,334
10 votes

Salesforce password reset link expires immediately upon request

There's a Salesforce Knowledge article about this. It is caused, as other posters have said, by the email server protection software. Salesforce lists Mimecast, McAfee's 'Link Protect' feature, ...
user avatar
  • 101
10 votes
Accepted

Multiple SFDC Users on one PC

This is a question many Salesforce consultants will face - we will need to open many Salesforce instances and many of them are under the same domain. I would recommend using some multi-session ...
user avatar
  • 12.7k
8 votes
Accepted

Is there a better way to do two-factor authentication?

There's two main ways to use 2FA. The first is where you enter a code each time you log in, and the second is where you authenticate the login through a mobile app. If you install the Salesforce ...
user avatar
  • 430k
8 votes
Accepted

Username-Password OAuth Authentication for community users?

In the profile of the user make it as API enabled. I was able to log in using api inside the community using the below soap login call., <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"...
user avatar
8 votes

What is aura.redirect?

No documentation can be found in Salesforce but it just works. The other issue I found is that for some reason test classes don't work well with them. Hence I include code like if(!Test....
user avatar
8 votes

Why can't I force:org:open my scratch org?

On inspection I saw that the POD (instance) on which my scratch orgs exist had been upgraded to Spring '20 on Saturday. The only solution I could find was to delete my scratch orgs and re-create them ...
user avatar
  • 26.7k
7 votes
Accepted

Is login history only stored for 6 months?

Yes, the logs go back just six months. Even salesforce's Data Recovery option only goes back three months. If you're concerned that you need a longer audit trail, there are ways of doing this. Two ...
user avatar
  • 430k
6 votes
Accepted

Is it possible to copy the Contact ->'Login in to Portal as User' functionality on a Visualforce custom button?

That should be possible, indeed. You can recompose the URL and forward a user to it when clicking on a custom button. If you hover over the 'Log in to...' option and right-click, there will be an ...
user avatar
6 votes

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/?un=daniel@example.com&pw=hunter12 Note to other readers ...
user avatar
6 votes

Webassessor Email Address & Login change

I've had to do this. Whilst you can change most details on the Edit Profile page, your e-mail address is something you can't change. You'll need to contact them directly, you can use ktnsupport@...
user avatar
  • 7,037
6 votes
Accepted

Sandbox verification emails

Have a look at the SandboxPostCopy Interface. It should be possible to have Apex run after the Sandbox is created and then modify the specific User records email address fields.
user avatar
5 votes

Language of login.salesforce.com

It uses your default browser settings to set the language Here I have set my language to german And the resulting login page Once you are logged in, it will use your locale settings in your profile....
user avatar
  • 1,791
5 votes

Salesforce password reset link expires immediately upon request

For those who are experiencing this issue on Outlook, if the URL as presented by Outlook begins with something like https://nam02.safelinks.protection.outlook.com/?url=<escaped_sfdc_url>, then ...
user avatar
  • 151
5 votes

What is the equivalent of Site.login(username, password, url) in the Lightning environment?

When I recently turned on communities this example controller (and a login form Lightning Component front) end was automatically added to the Developer Edition org: global class ...
user avatar
  • 129k
5 votes

Can a Login Flow know which Connected App started it?

You may be in luck. There's something call the ExperienceID or expid that potentially could be used to do what you want to achieve. Its primary purpose is to be able to customize the "branding ...
user avatar
  • 40.3k
5 votes
Accepted

Why can't I force:org:open my scratch org?

This issue is due to Spring '20 and can happen with new scratch orgs too. Not all sandbox pods are affected. The event emitter warning has nothing to do with the actual problem. The underline issue ...
user avatar
  • 593
4 votes
Accepted

Using SOQL, how can I tell which Users are currently locked out?

You can use the relatively new UserLogin sobject to get this, select id, username from user where id in (select userId from userLogin where isPasswordLocked=true)
user avatar
  • 7,830
4 votes
Accepted

New users must login through <node>.salesforce.com instead of test.salesforce.com?

This is a known issue still unfixed but in review and we are not alone (it affects at least 59 others). If you haven't already you should state there that it affects you, too. https://success....
user avatar
  • 33.6k
4 votes
Accepted

Do Salesforce1 Mobile App users on cellular always have to verify their login

No, the user should not have to login that frequently. I use S1 on cellular data all the time without having to re-login. What should happen is, when they login, S1 is given an access token (with ...
user avatar
  • 16.1k
4 votes

Developer account stuck in limbo (can't login!)

Honestly, it's easier to just create a new account (unless, of course, you were hoping to use that precise username, which will remain locked for future use indefinitely). It's true that salesforce....
user avatar
  • 430k
4 votes

Salesforce password reset link expires immediately upon request

Is your email going through a virus scanner that checks links within emails for malware etc. ? The password reset link you are being sent expires as soon as the link is visited. Having an admin send ...
user avatar
  • 802
4 votes
Accepted

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

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 ...
user avatar
4 votes

Is there any way around Verification Code ? I am using Selenium and Java to Automate Test

The verification code mechanism exists for good reasons and improves the security of production data. However in a dev org I often use the following approach to dissable all verificaiton codes, as it ...
user avatar
  • 2,852
4 votes

Does an iOS app accessing SF through Mobile SDK need to be listed as a "Connected App"

This is similar to the question I answered here. The Connected app - client id and client secret can be from any org and it does not matter if you're not seeing that connected app in your org. This ...
user avatar
4 votes
Accepted

IP Address Restrictions Other Than Profile-Based?

You can't have assign IP restrictions through Permission sets (or) Workflows or any other ways. For your problem you have to assign a separate profile for the user is only the way.
user avatar
  • 1,420
4 votes

Verification Code Every Login

You can whitelist your IP Address in Salesforce. This way you can skip verification code step. To add your IP address to Salesforce; Find your ip address by searching google with "what's my ip ...
user avatar
  • 2,309
4 votes
Accepted

What is the value of using an OAuth flow for your own external systems

Storing the username and password - Ultimately something has to be stored, and an access token can be used to access resources just as easily as a username and password. That's one point of view, but ...
user avatar
  • 430k
4 votes

remove advertising on login page of Salesforce

If you are using chrome, you can make a chrome extension to do this. Firefox and I think Safari also allow you to make extensions. My extension widens the login inputs, but making the advertising div ...
user avatar
4 votes
Accepted

Does the Last Login Date become blank after a user hasn't logged in for 6 months?

Last Login is NOT cleared after 6 months. It shows just fine. My example I was going to show last logged in 7/2016 As for updating the last login, yes, if the user logs in via API it does update the ...
user avatar
  • 53.1k

Only top scored, non community-wiki answers of a minimum length are eligible