Hi,
I while ago the PwToken was implemented to create automatic login. Since Dw7 I can't get it to work. It is working in the engage website though.
Is this an error, or will it not be restored?
Best Regards,
Nuno
Developer forum
E-mail notifications
PwToken
Posted on 05/03/2010 15:30:33
Replies
Posted on 05/03/2010 15:51:16
Hi Nuno
I'll look into it, but I don't think it's due to DW 7 because it still works i Firefox and Chrome.
// Sebastian
I'll look into it, but I don't think it's due to DW 7 because it still works i Firefox and Chrome.
// Sebastian
Nicolai Høeg Pedersen
Posted on 05/03/2010 15:56:16
PwToken should work as it always has...
You know you have to pass an encrypted string of the password along with the username?
"?Username=np&PwToken=" & Dynamicweb.Base.MD5HashToString(pass & "DwSecret")
You know you have to pass an encrypted string of the password along with the username?
"?Username=np&PwToken=" & Dynamicweb.Base.MD5HashToString(pass & "DwSecret")
Posted on 05/03/2010 16:05:13
Hi Guys,
It's weird. I am using the same password and in our website it does not work (www.alencastre.net), but it works with engage.dynamicweb (same browser). Any other ideias?
Best Regards,
Nuno
It's weird. I am using the same password and in our website it does not work (www.alencastre.net), but it works with engage.dynamicweb (same browser). Any other ideias?
Best Regards,
Nuno
Nicolai Høeg Pedersen
Posted on 05/03/2010 16:22:18
No idea...
Send me the link you are using - and maybe your password.
Send me the link you are using - and maybe your password.
Posted on 05/03/2010 17:02:41
Hi Nicolai,
Use it in
http://intranet.alencastre.net
username: nunoaguiar
password: sent it by e-mail
(so that someone else can keep track of things) We also changed the user password settings to encrypted since DW7. Could it be that PwToken and encrypted passwords are not compatible?
nuno
Use it in
http://intranet.alencastre.net
username: nunoaguiar
password: sent it by e-mail
(so that someone else can keep track of things) We also changed the user password settings to encrypted since DW7. Could it be that PwToken and encrypted passwords are not compatible?
nuno
Nicolai Høeg Pedersen
Posted on 06/03/2010 09:34:57
Hi Nuno
As you wrote in your mail, you have the passwords encryptet in the user database, and that is why pwtoken does not work.
So you would have to send Dynamicweb.Base.MD5HashToString(encryptedPass & "DwSecret") into the pwtoken string.
As you wrote in your mail, you have the passwords encryptet in the user database, and that is why pwtoken does not work.
So you would have to send Dynamicweb.Base.MD5HashToString(encryptedPass & "DwSecret") into the pwtoken string.
Posted on 08/03/2010 10:43:43
Hi Nicolai,
Thanks for the info.
Nuno
Thanks for the info.
Nuno
You must be logged in to post in the forum