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 didn't show the password.


Pretty much all password based APIs will not return the value of the password that the user entered. Instead they store an encrypted version of the password such as a salted hash and when a login attempt is made they apply the same algorithm to the entered password and see if the result matches the stored value.

One reason for this is to stop someone who has hacked in from just being able to grab the passwords and start pretending to be real users.

Bottom line is that you should leave the job of checking the password to the system that manages the passwords i.e. make an API call to it to check or get it to present the authentication UI e.g. via OAUTH. (Not sure what the appropriate choice is for Marketing Cloud.)

  • Hi, I have used OAuth to allow user to login via Marketing Cloud but now the problem is I don't know how to because I need client ID and Password to execute processes via PHP. Feb 7 '18 at 9:29
  • @SelimSevim You can normally use the access token provided via OAUTH in APIs. Suggest you add a new question identifying the specific PHP/library you are using and the specific problem.
    – Keith C
    Feb 7 '18 at 10:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.