Questions tagged [passwords]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
68 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
0 votes
0 answers
92 views

Get User Id from System.UserManagement.verifySelfRegistration to set the password

Is there a way to get the user Id from the Verification? I am implementing a custom self registration process in an Experience Site, user fill up a form including the password and then they are ...
Juan Ge's user avatar
3 votes
1 answer
353 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
  • 723
0 votes
1 answer
660 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
664 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
924 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
445 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
326 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
191 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
182 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
813 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
310 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
244 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
335 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
  • 11.9k
0 votes
1 answer
88 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
368 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,177
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,294
0 votes
1 answer
2k 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
  • 301
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
  • 723
2 votes
1 answer
438 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
1k 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
108 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
837 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
  • 6,968
-1 votes
1 answer
208 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,105
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
8k 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
21 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
62 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
  • 535
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
860 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
79 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
560 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
963 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
  • 405
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
1k 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
1k 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
514 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
13k 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
189 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
1 vote
1 answer
60 views

Password glitches

I swear this is not just my imagination. This has happened to me a few times in the past few weeks. I attended a instructor-led course at Salesforce HQ and we were provided with a trial account that ...
Charles T's user avatar
  • 10.9k