Reset Password with Token

Hi Guys

I'm putting a proposal together to get our website to start using Tokens instead of clear text passwords in the Send Credentials email.  It all seems pretty straight forward to create a link in the email that will include the token.

Using this token I can login using the web API but I was wondering once you have logged in how you can update the current password.  If you don't know the password and you only have a token how do you update the current password.

The only methods I can see are UpdateLogin and UpdateLoginWithPromoCode and they require you to know the existing passwords.  So not sure how to do this.  Not sure if this is possible with the current SOAP API without creating a custom method.

How are you guys doing this?

Thanks

Nick

Parents Reply
  • Hi Mark

    Which API method are you using to login to tessitura?  We couldn't get the password returned from SOAP API so we had to build a custom procedure for updating the password.  Maybe I was missing something so would be good to know.

    In the end I built a custom stored procedure that allows you to update the password based on the token that the customer uses to login.  So based on the token you can find the login and then update the login.  I can share the stored procedure with you if you would like?

    thanks

    Nick

Children
  • Hi Nick,

    My last post is a little misleading on reflection - I'm actually using the GetVariables method after the user has logged in with the token which returns an object which includes the users password.

    I was actually quite suprised the password was returned in this way, but it seems to do the job for me!

    Mark