2391
Views
7
Comments
Solved
Validate Encrypt Password function
Question

Hi mates,
I'm now developing the user change password action, i'm having difficulties validating the old password he entered with his current password in database because of the Salt hashing, I have found the change password flow on the Users clone espace of the outsystems users manager, They are a function called Validate Encrypt Password

 

I'm having exception unknown function, but I don't know how to add/use this function in my module. 


encryptvalidationpassword.png
2024-11-21 13-12-27
Mohamed AlMokadem
Solution

Holla Eduardo,

I have used the change password WebBlock, which uses the ValidateEncryptPassword function so i had to include it in my module. I included both of the (ValidateEncryptPassword and ValidatePassword) functions.

Regards,

Mohamed AlMokadem

2020-02-28 09-46-54
Eduardo Jauch

Hi Mohamed,

This is probably an internal function of the Users module.

But you have the following:

The Validate password receives the plain text pass and the hashed pass (usually from the database) and returns if they match.

Cheers,

Eduardo Jauch

2022-12-12 15-08-17
Leonardo Abrantes

Eduardo Jauch wrote:

Hi Mohamed,

This is probably an internal function of the Users module.

But you have the following:

The Validate password receives the plain text pass and the hashed pass (usually from the database) and returns if they match.

Cheers,

Eduardo Jauch

Hi.


Do you know if this "Validate password" function is still available?

Because im not finding it anywhere and this function looks like exactly what i need.

(Im using the latet version of outsystems)


Cheers.




2024-11-21 13-12-27
Mohamed AlMokadem

Hi Eduardo,
   as you said yes I have used Platform Password Utils but, I found the Validate Encrypt Password  in the Authentication section  Thanks Eduardo

2020-02-28 09-46-54
Eduardo Jauch

Hi Mohamed, 

Why the ValidatePassword is not an option for you? :)
What is the problem you are facing that it does not work?

Cheers,

Eduardo Jauch

2024-11-21 13-12-27
Mohamed AlMokadem
Solution

Holla Eduardo,

I have used the change password WebBlock, which uses the ValidateEncryptPassword function so i had to include it in my module. I included both of the (ValidateEncryptPassword and ValidatePassword) functions.

Regards,

Mohamed AlMokadem

2021-08-12 11-00-27
Nordin Ahdi
 
MVP

Hi Leonardo,

The ValidatePassword function is still available and should be in the same PlatformPasswordUtils API.

Just click ‘Manage Dependencies’ while you have your module open in Service Studio and look for PlatformPasswordUtils extension in the Producers column and the ValidatePassword action should be in there in the Public Elements area.

Regards,

Nordin

2022-12-12 15-08-17
Leonardo Abrantes

Nordin Ahdi wrote:

Hi Leonardo,

The ValidatePassword function is still available and should be in the same PlatformPasswordUtils API.

Just click ‘Manage Dependencies’ while you have your module open in Service Studio and look for PlatformPasswordUtils extension in the Producers column and the ValidatePassword action should be in there in the Public Elements area.

Regards,

Nordin

Thanks, i found it and it was exactly what i needed.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.