ForumsDevelopersAuthentication


Authentication
Author Message
jonathan

Posted: Jul 18, 2008
Score: 0 Reference
Hi There,

From reading the api docs, I couldn't see any way to authenticate with an email address and a password, it seems you have to use the unique userid, is this correct? For my app I was hoping to be able to prompt the user for their email address and password to authenticate.

Cheers
Jonathan

jonathan at robson-gb dot com
keef

Posted: Jul 19, 2008
Score: 0 Reference
Hi Jonathan,

My understanding is that you could use the GetUserID method to retrieve the account ID by email address and password, then use the user id to generate a key for all the other API calls.

I've been meaning to change the Outlook sync app to use this mechanism for some time, but other things keep getting in the way. I'd be interested to know if you get this working.

keef
Jake

Toodledo Founder
Posted: Jul 19, 2008
Score: 0 Reference
Yes, you can lookup the unique id from the email/password by using the GetUserID method. Once you get the unique ID for the user, you should cache it and throw away the email/password information. This is safer for the user and also because the unique ID won't change, whereas the email or password may change.
You cannot reply yet

U Back to topic home

R Post a reply

To participate in these forums, you must be signed in.