9
Views
1
Comments
Solved
How do I "GenerateSaltedSHA512Hash" and "ValidatePassword"?

Hey! So I am doing an app which needs login but I started from one from forge and the user that created it deleted the parts of login that you start with when you create a app so I createad the login sreen/activity.
Wher do I use the "GenerateSaltedSHA512Hash" from https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/PlatformPasswordUtils_API  ?

Thanks for helping

Rank: #55
Solution

Hi Gonçalo,


I think it is easier to just use the User_Login action from Users:


You can just pass the username and password (as the user writes it) and you don't need to worry with the hashing to match the one encrypted in the database because it is handled inside that action.


Hope it helps.


Regards,
João