Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [passwords]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
139 views

How to check for the current user's password?

Is it possible to check for the current user's password in a programmatic fashion with Apex? My current use case is that management wants the current user to authorize a certain procedure, and to ...
Renato Oliveira's user avatar
0 votes
1 answer
221 views

Error when using the username-password oauth flow

I'm fresh using the SF API and want to get the token by the oauth API to do some test. After I completed creating the connected APP followed the sf spec with the setting like below: then I got the ...
user143715's user avatar
0 votes
0 answers
316 views

Experience cloud sites self registration: password policies error message language

We have a few Experience Cloud sites, with custom login and self registration pages. The registration is with a password, and in the backend, Community Portal users are created. Those users can be of ...
joacoiudica's user avatar
3 votes
1 answer
718 views

Password policies at organization level versus profile level

Hello, There is something I would like to understand. There are password policies at the organization level and at the profile level. In the documentation, I can read the profile level overrides the ...
Oupat's user avatar
  • 733
0 votes
1 answer
904 views

Can login attempt 6 times in salesforce before user unlock even thought it is set to 5?

I have set the maximum valid attempt to 5 before user get unlock in 'password policies' in Setup while the lockout effective period is forever, however even after 6 attempts of invalid password, user ...
TheRipper's user avatar
0 votes
0 answers
811 views

When is a User given more incorrect password attempts than the 'Maximum invalid login attempts' in password policies of org and profile?

I have a customer community user who was allowed 14 incorrect password attempts before being 'Password Lockout', although the org's and profile's 'Password Policies' should only allow 5 incorrect ...
Shaleen Yadav's user avatar
2 votes
1 answer
1k views

Salesforce Password Expired

My salesforce password expired for unknown reasons. The password policy is set to expire the password every year and it's only been 4 months. Has anyone encountered this issue?
Rohit Rathod's user avatar
0 votes
2 answers
2k views

Named Credentials using password authentication

I need to call the same org using named credential password authentication,. Can anyone explain if i need to pass a api for the password where could I get that api for same salesforce org?
Basu's user avatar
  • 23
2 votes
1 answer
522 views

Is there a native way to identify if attachments in Salesforce are password protected?

I want to write logic in Salesforce to identify if an attachment stored in Salesforce is password protected or not. From my research, this is NOT possible natively in Salesforce and that the solution ...
Andy Hitchings's user avatar
0 votes
1 answer
370 views

SF text field Password masking

I have a text field and it needs to be masked. So, what are out options? OR
vishnu.b's user avatar
1 vote
0 answers
223 views

How to identify a profile password policy linked to a profile easily?

I would like to know an easy way to fetch the profile password policy attached to a profile. I know the metadata api "profilepasswordpolicy" which is useful to retrieve settings of a policy, ...
herbalizer404's user avatar
0 votes
0 answers
61 views

Generate random Password with Special Characters? [duplicate]

Is there a way to use the below code, but also add special characters? I need to generate a random 8 character password, that includes special characters. Is this possible? Any assistance will be ...
DevWannaB33's user avatar
0 votes
0 answers
231 views

How to generate a password creation link to sent to a Community User?

When activating a User on our Community, an email is automatically sent to the User's email address, which contains a link for him to set up his password, then access the Community as a logged User. ...
Roland B.'s user avatar
0 votes
1 answer
952 views

Customize Password Set Screen once user logs in for the first time - Communities

Once the user logs in for the first time, they are redirected to set a password. Can we customize that page or redirect users to a new Page to achieve Client Branding in Communities?
wink's user avatar
  • 17
0 votes
1 answer
337 views

Question regarding SF User Name, and Email updates while keeping passwords

Our company is rebranding , thus we need to update both the salesforce (SF) user name and email for both the Marketing and System Admin user accounts we need for an external client's non-production ...
Anthony Williams's user avatar
0 votes
0 answers
301 views

Not able to select "Password Never Expire" System Permission while creating a permission set

I know that it was possible to achieve, but for some reasons, as soon as I click on save button after selecting the "Password never Expire" permission and click on Save button, nothing ...
Shobhit Saxena's user avatar
0 votes
1 answer
1k views

Is there any way to preserve Sandbox User passwords and tokens when Sandboxes are refreshed?

We have MANY different microservices which connect to Salesforce. And, we have test versions for most of these, which connect to our STAGING (partial-copy). And, for security, all our integration ...
Brian Kessler's user avatar
0 votes
0 answers
434 views

What happens if the password of the API user to connect the clouds expires?

I know, I would get unauthorized errors but does it happens instantly? I mean, if I have a journey connected and the password expires, does it stop instantly? Does it finish? How long will take for ...
Mrquestion's user avatar
2 votes
1 answer
1k views

Can we change reset password link validity to 72 hours instead of 24?

I have a requirement to send a reset password link from the apex code. By default, the reset password link which is sent over the email is valid for 24 hours. Can I change that to 72 hours? I am ...
Rahul Gawale's user avatar
  • 12.2k
0 votes
1 answer
100 views

Apex - send Account Unlock email

Is there a way to trigger the account unlock emails via Apex? I'm trying to setup a self-service solution where users can enter their username via a form and get the account unlock email, instead of ...
miCRoSCoPiC_eaRthLinG's user avatar
0 votes
1 answer
401 views

User Password field max length

What is the maximum number of characters for the password field on the User object? I cannot find it in the documentation anywhere, and this question seems to imply its: 1333.33333333 Is that ...
Robs's user avatar
  • 9,356
0 votes
1 answer
4k views

Ant Invalid username, password, security token; or user locked out

I am using ANT to build an xml file but get the following error: Error:[LoginFault [ApiFault exceptionCode='INVALID_LOGIN' exceptionMessage='Invalid username, password, security token; or user ...
Thomas's user avatar
  • 2,298
0 votes
1 answer
3k views

Difference between "Reset Password" & "Generate New Password"

I agree while creating a New user we get the option Generate New Password, while a user forgets the password we help them by resetting them. Even then we have the option to edit the user and check the ...
C. Praveenkumar's user avatar
2 votes
3 answers
2k views

Remove password policies from profiles and have only one central password policy?

In our org, some profiles have their own password policy; these overwrite the general password policy. I would like to return to having only one centralized policy. How can I do that? I cannot find a ...
georg w.'s user avatar
  • 1,224
2 votes
1 answer
2k views

Best way to save a API integration password

I am building an integration between Salesforce and other application with REST API calls. The Salesforce will be consuming data from that other app on in interval. I am writing my code and it is ...
Art S's user avatar
  • 311
1 vote
1 answer
4k views

Check the username and the password of a community user

I have a community and inside, I have a form to allow to the user to change his password. To do that, the user has to enter his old password, the new password and the confirmation of the new password ...
Oupat's user avatar
  • 733
2 votes
1 answer
491 views

Can a Managed Package with a password be imported through SFDX?

We are currently trying to figure out whether/how we might use SFDX. Our org has FinancialForce Accounting installed. This managed package is required by several other managed packages and it heavily ...
Brian Kessler's user avatar
3 votes
1 answer
2k views

Removing password/session settings from profiles to allow org defaults to apply to all users

Has anyone managed to remove profile session/password settings to allow the org defaults to apply to all users? Can't seem to remove session timeout to "none" on the profile UI, it only allows you to ...
Aislinn Hayes's user avatar
1 vote
0 answers
114 views

Comparing String with Community User's password

Scenario: Custom community page includes custom Lightning Component with 3 text input fields: - current password, - new password, - confirmed new password. While I am able to validate 'new password' ...
Bartosz Beli PL's user avatar
3 votes
3 answers
1k views

Any Api to check if password meets policy requirements?

Is there any API that could check is the new password is matching the Salesforce password policy or not? We need to show the suggestion on the fly while the user is typing the password instead of ...
Dummy's user avatar
  • 313
0 votes
0 answers
890 views

Site.createExternalUser does not send password email to user

I have created a custom self-registration page for a community in a sandbox. I am using Site.createExternalUser(user, accountId, password) with a null password password parameter to create the portal ...
David Cheng's user avatar
  • 7,092
-1 votes
1 answer
215 views

Why should one want the password to expire in Salesforce? [closed]

Why should one want the password to expire in Salesforce? Is it the same as a temporary account? Because if the password invalidates after some time that means the user won`t be able to login and ...
iloveseven's user avatar
  • 1,115
3 votes
1 answer
2k views

Change retURL for ChangePassword page

When users click to reset their password and go through the process through the link that gets sent in an email, there's a variable retURL that seems to be the url to redirect to once the password is ...
Eric Strom's user avatar
8 votes
0 answers
9k views

System.SetPassword During User Creation Sets Password But User Cannot Login?

Background: We've created a pseudo-single-sign-on integration between our external cloud program and our Salesforce environment, allowing our users to log in to our Lightning Community Site via a ...
Morgan Marchese's user avatar
2 votes
0 answers
22 views

Does the "User passwords expire in X days" setting affect "Customer Portal" users?

Does this affect these kinds of users?
Sidereal's user avatar
  • 465
0 votes
1 answer
73 views

Retrieving the password of a user with php api

I am preparing a form on an external page using PHP. Is there a way to check the password entered in that form with the one in Marketing cloud? I used "AccountUser" object to get the password but it ...
Selim Sevim's user avatar
4 votes
0 answers
2k views

How to prevent password expiration for API user?

Every 3 months, the password for our API user expires. We've tried turning off password expiration for that user, but it doesn't seem to do anything. The password still expires every 3 months. What ...
Lauren's user avatar
  • 41
0 votes
0 answers
1k views

Changing password for connected Marketing cloud user

After Changing the password for connected Marketing cloud user I seem to have some issues - I'm not seeing individual email results. Is there anything that I need to update in the Marketing Cloud ...
user48743's user avatar
  • 545
2 votes
3 answers
2k views

Salesforce password policy

Does the salesforce password ever expire? Any guides or documentation on the password policy? I know there it is explicitly possible to reset password, but is there any implicit expiry possibility?
Nagesh Borate's user avatar
2 votes
0 answers
893 views

Check Community User's Salesforce Password

I would like to require users to re-enter their password in order to access ePHI (to prevent an unauthorized user from getting access if the authorized user walks away from their desk...) I have not ...
Ben Kass's user avatar
0 votes
1 answer
84 views

Repetitive string password

Salesforce users can have a repetitive string as a password. Can I as a admin do something about it? The main reason is to force the users to have secure passwords.
Ethel's user avatar
  • 1
0 votes
1 answer
791 views

Non-stop "Finish resetting your Salesforce password" sent to a user

I have a user who's been receiving Finish resetting your Salesforce password for days now, every minute on the minute. SF Support say the email received is legitimate from SF but the reset emails are ...
Usor5000's user avatar
0 votes
1 answer
989 views

encrypted password to plain text password Using 3DES algorithm [closed]

How to convert encrypted passwod to plain text password? please any one give some idea for this. I have a AES256 algorithm as given below. I need 3DES algorithm . Blob cryptoKey = Crypto....
Sfdcprgmr's user avatar
  • 437
2 votes
2 answers
5k views

How Does salesforce stores passwords ? which algorithm / mechanism uses saelsforce to store password?

Our possible new customer asks if salesforce uses any strong algorithm encryption for user credentials. Somebody knows how salesforce stores passwords? Any documentation? I have found nothing. ...
alejandro's user avatar
  • 109
5 votes
2 answers
2k views

How do I prevent Apex-created users from having to change password on first login?

I have Apex-code which generates new user accounts, and it specifies a user-provided password for the account. On first login the users are prompted to change the password, which is a painful extra ...
Andrew's user avatar
  • 51
2 votes
0 answers
2k views

Community generate, "generate password" URL with APEX

We are using customer communities, at the moment we send 2 emails out to the new client(user). first one is up-on creation of the community user, salesforce sends out the welcome email with the ...
Hasantha's user avatar
  • 2,045
1 vote
1 answer
2k views

Protect a generated PDF

I've been looking in many sites and I didn't find an answer. Is it possible to password protect a PDF generated with "renderAs = PDF"? In a negative case I need to find another way to protect my PDF ...
Bruno Perdigão's user avatar
4 votes
1 answer
519 views

How to restrict saving password for visualforce page?

I am using the following field which lets the user to enter password.But when the user logs in for the next time I dont want the browser to suggest password.Is it possible to handle it in visualforce ...
Priyalakshmi's user avatar
  • 1,456
2 votes
3 answers
18k views

Setting Password via APEX

I'm try to set a user password and executing the system.setPassword(UserId, Password) method and I always get an error saying that the UserId is invalid. I've checked it and it's the correct UserId. ...
Blam's user avatar
  • 21
1 vote
0 answers
203 views

Is there any way to disallow the '$' character in a Salesforce password?

Is there any way to prevent certain characters from being used in Salesforce passwords? Specifically, the '$' character causes problems when using ANT for continuous integration, as this symbol ...
Aislinn Hayes's user avatar