Build with IDX Broker Forums General Discussion Force Login of a lead

Viewing 1 reply thread
  • Author
    Posts
    • James Call
      Participant
      Post count: 9

      We are trying to figure out how to login a lead programmatically.

      This isn’t about registration. We are already doing that.

      The thing we want is to login as a user. In order to do that, we need the id from this url: http://domain.idxbroker.com/idx/ajax/userlogin.php?vlog=1&id=c5529425dfebfd52

      That lead is lead #2 on this page: https://middleware.idxbroker.com/mgmt/editlead.php?id=2. But the ID on the login is the encrypted one: c5529425dfebfd52. My question is “How are they encrypted?”. That is what we need in order to “login” as the user.

      This looks like a case for the IDX Broker developers I met in Austin this spring.

      It should be as simple as saying “it is a 16 character MD5 hash” (http://www.freecodeformat.com/md516.php) or something like that. Then we can get information from the cookies and apply that info to our client’s sites.

      When we do this, it provides great opportunities for customizations that will keep clients happy and part of the IDX Broker ecosystem.

      Thanks,

      James

      0 ratings, 0 votes0 ratings, 0 votes (0 rating, 0 votes, rated)
      You need to be a registered member to rate this post.
      Loading...
    • idxbroker
      Keymaster
      Post count: 179

      One way of getting a lead log in code would be parsing the email sent to the lead. This will contain the parameters needed (From above example: vlog=1&id=c5529425dfebfd52). This are static to each lead as well.The Lead id is at the end of this code with the first 15 digits being the hash.

      0 ratings, 0 votes0 ratings, 0 votes (0 rating, 0 votes, rated)
      You need to be a registered member to rate this post.
      Loading...
Viewing 1 reply thread
  • You must be logged in to reply to this topic.