Does rauth work with Python 3?
OAuth for Python made easy
31–39 of 39 posts
Re: OAuth for Python made easy
#32Earlier quoted context omitted.
https://github.com/hasgeek/lastuser was the least painless method in my experience but I never tried any non-lastuser clients with it so I can't comment on library compatibility.
it doesn't have any docs and even from the page I have no idea what it actually does, it doesn't look like an oauth provider (?)
It's not complicated to break down the UI as you need it.
Re: OAuth for Python made easy
#33If you'll allow me a shameless plug... My company (dailycred) wraps ten OAuth 1 & 2 providers, as well as email & password and Mozilla Persona in a single OAuth 2 call. (We started this project because even just within OAuth 2, providers break spec left and right and OAuth can be a huge headache, so we manage all of those headaches for our customers.)
Re: OAuth for Python made easy
#34Earlier quoted context omitted.
Whoops, didn't notice the chronology. All the same: OAuthLib and its libraries cover the exact use-case you've laid out, just in a fashion that has some architectural benefits on top of the usability goals. The simple "OAuth for Humans" thing you're reaching for exists—it's https://github.com/requests/requests-oauthlib . Kenneth and I hashed this interface out before we started out on OAuthLib, and thus far it's the…
> All the same: OAuthLib and its libraries cover the exact use-case you've laid out Nope. They very much do not: your expectation is that your users will roll their own clients or use Requests' shim, which seems a little rough around the edges and doesn't provide for the necessary use cases, e.g. OAuth 2.0 and Ofly. I'm sorry, but this is not providing for the use cases I've laid out by any stretch of the imagination…
I guess I just feel like tying to one specific service is too specialized. Libraries like requests should be providing you with enough primitives to be flexible and enough abstraction to be "simple," though we clearly disagree on what constitutes the appropriate balance.
Re: OAuth for Python made easy
#35Does rauth work with Python 3?
Not yet.
Re: OAuth for Python made easy
#36Earlier quoted context omitted.
Not yet.
Basically the main reason for python-social-auth ( https://github.com/omab/python-social-auth ) to use oauthlib/requests-oauthlib instead of rauth.
Re: OAuth for Python made easy
#37Earlier quoted context omitted.
it doesn't have any docs and even from the page I have no idea what it actually does, it doesn't look like an oauth provider (?)
It implements oauth 2.0 draft 16. http://www.slideshare.net/jace/user-management-with-lastuser It's not complicated to break down the UI as you need it.
Re: OAuth for Python made easy
#38Earlier quoted context omitted.
It implements oauth 2.0 draft 16. http://www.slideshare.net/jace/user-management-with-lastuser It's not complicated to break down the UI as you need it.
I've moved up to draft 22. The OAuth2 spec is now final, but I haven't been keeping track of what's changed. The final revisions seemed to be all around SAML.
Re: OAuth for Python made easy
#39Recently 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 pytho…
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.