TurboGears's support for OAuth

81 views
Skip to first unread message

Sanjay

unread,
Feb 21, 2009, 4:40:30 AM2/21/09
to TurboGears
Hi All,

I am trying Orkut development with TurboGears backend. It uses OAuth
for authentication, which is quite a new topic to me.

Would like to know whether there is any support for OAuth in TG 1.0,
and some suggestions and references. Do we need the framework to
support it, or I can just install http://code.google.com/p/oauth/ and
code my application? If it is too difficult using 1.0, but convenient
with 2.0, I might have to migrate my existing application to 2.0
first.

Seeking for some direction.

thanks,
Sanjay

Gustavo Narea

unread,
Feb 21, 2009, 8:17:39 AM2/21/09
to turbo...@googlegroups.com, Sanjay
On Saturday February 21, 2009 10:40:30 Sanjay wrote:
> I might have to migrate my existing application to 2.0
> first.

That will eventually be possible through repoze.what, but personally that's a
low priority:
http://bugs.repoze.org/issue46

If someone wants to take over that plugin, go ahead ;-)

Cheers.
--
Gustavo Narea <http://gustavonarea.net/>.

Get rid of unethical constraints! Get freedomware:
http://www.getgnulinux.org/

Sanjay

unread,
Feb 23, 2009, 2:54:47 AM2/23/09
to TurboGears
> That will eventually be possible through repoze.what, but personally that's a
> low priority:http://bugs.repoze.org/issue46

Thanks for the input. One specific question:

For implementing OAuth in my TG1 application, do I need to write some
system level code such as CherryPy filter etc., or just coding things
in my controller methods should do?

thanks,
Sanjay

Sanjay

unread,
Feb 23, 2009, 6:43:41 AM2/23/09
to TurboGears
Ok, here is something I gathered: http://docs.turbogears.org/1.0/OAuthAuthentication

Reviews and enhancements requested.

thanks,
Sanjay

Gustavo Narea

unread,
Feb 23, 2009, 7:42:42 AM2/23/09
to turbo...@googlegroups.com, Sanjay
Hi, Sanjay.

I'm sorry, but I don't know much about TG1.

Regarding that wiki page, I think its title should corrected because OAuth
handles authorization, not authentication.

Cheers.

Sanjay

unread,
Feb 23, 2009, 8:34:38 AM2/23/09
to TurboGears
> Regarding that wiki page, I think its title should corrected because OAuth
> handles authorization, not authentication.

Hi Gustavo - thanks for pointing out. I could not find out how to
rename a page and whether I am authorized. Will someone do it.

On a second note, curious to know what is the difference between
authorization and authentication. Any beginner reference will help.

thanks,
Sanjay

Gustavo Narea

unread,
Feb 23, 2009, 9:05:40 AM2/23/09
to turbo...@googlegroups.com, Sanjay
Hello, Sanjay.

On Monday February 23, 2009 14:34:38 Sanjay wrote:
> On a second note, curious to know what is the difference between
> authorization and authentication. Any beginner reference will help.

Here's a quick introduction:
http://turbogears.org/2.0/docs/main/Auth/index.html#overview

Cheers.

Reply all
Reply to author
Forward
0 new messages