I've been asked to integrate a third party in a Mendix app, but the bearer token is based on the users' login credentials for said third party.
I have no clue on how to securely make the call.
I need the user to fill in their login credentials, of which the password I should save as a hashed string I guess?
But when I want to make the REST call, I want to retrieve the password from the database in order to use it in the HTTP authentication header, but this field does not support hashed strings and there is no unhash function either.
How do I solve this? Do I just not hash the string? Is this secure?
Help me out please.