Can the new services 3.x architecture support key authentication as in D6 ? if Key authentication module is ported to D7, can it be used.

Thanks,
Dinesh.

Comments

kylebrowning’s picture

Status: Active » Closed (won't fix)

Key authentication was only supported in 2.x and currently here are no plans to support it in 3.x, D6 or D7.

If someone wants to contrib it and manage it themselves they are more than welcome to.

Theres also oAuth.

frankcarey’s picture

Just started working on keyauth here http://drupal.org/node/1246396/

Dinesh Kumar Sarangapani’s picture

Thanks kylebrowning,

I have also started to port it to D7 frank. I could also contribute if you wish.

marcingy’s picture

Key auth was removed for reason. It can exist as module in contrib but it won't be readded to the services module.

frankcarey’s picture

@marcingy - thanks, I'm aware, but that is a good point. It would be good if you (or others) could highlight the reasons that it wasn't supported in 3.x. My understanding was that the main reason was that drupal security permissions were not necessarily respected (the user didn't have to have an account)?

@Dinesh - yes, we'd appreciate some help. We're working on this at SONY as we speak. wonder95 (http://drupal.org/user/87591) started working on this starting today. I'll make sure we continue to bring the changes back, but if you've already made some progress, please send us some patches if you can in the issue queue there. I think we should have an initial port ready tomorrow I hope.

marcingy’s picture

The reason was because the solution was a 'hack' and in the time since it was originally created (by myself) things have evolved in terms of available token based authenication systems. The decision was taken to remove keyauth and instead base token based authenication on Oauth because it is an open standard rather than something created specifically for this project.

kylebrowning’s picture

Why not use oAuth, theres currently a patch that supports two legged auth, which is the same as keyauth but like 10 times more secure.

frankcarey’s picture

Thanks for the feedback... I've posted a discussion in the services group here... http://groups.drupal.org/node/189749 I'm going to paste you comments there so we can continue to discuss.