News for hackers. Stuff that matters.
Re:OAuth for Python made easy by manojlds on Thursday March 28, 2013 @03:18PM (#5457047)
Recently I tried doing cas integration for my django website. A colleague pointed to a Rails gem - install a gem, point to the cas url and, poof, done.

For django, I struggled, and struggled. Found a couple of libraries and a number of forks of these spread across github and bitbucket. Got one, but it didn't work. Debugged the code, fixed some stuff in my own fork, and got it working 5 hours later.

The world of python seems to have lots of half-baked libraries that are dead or dying. Makes you miss Ruby / Rails.

Re:OAuth for Python made easy by dbgrandi on Friday March 29, 2013 @10:24AM (#5460866)
I couldn't agree with this more. In Rails, I'm used to using omniauth, and plugging in any number of provider gems that deal with the subtle differences between how Dropbox and LinkedIn and whatever implement OAuth...and having them all hook into whatever Rack based framework I use (Rails, Sinatra, etc)

Rauth is a good start, but without a library that couples it to a full web stack, I'm spending a lot of time hooking it into my flask app and trying to make sure I don't make mistakes managing my session variables, etc.

Perhaps I'll start up a rauth-providers repo to catalog this stuff.