Authenticating A Drupal User From A Third Party

Photo of Greg Harvey
Mon, 2010-05-24 14:40By greg

Before we get started I'm posting this code for reference but, had it occurred to me, I would have worked on adub's Clients module instead of starting totally from scratch. It didn't until after the fact, but if you find yourself in a similar situation then I implore you to join the effort to make a Clients API for Drupal to be a companion for the Services module, instead of writing custom code like I did. Sure, Clients needs work, but a generic solution like that serves everyone, so if you can improve it just a little while writing your client application, provide a few patches and a sample implementation, all the better!