Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
OAuth 2.0 for Pyramid
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kevin Van Wilder  
View profile  
 More options Aug 9 2011, 2:29 am
From: Kevin Van Wilder <ke...@tick.ee>
Date: Mon, 8 Aug 2011 23:29:00 -0700 (PDT)
Subject: OAuth 2.0 for Pyramid

Hi there,

We are currently developing an open source OAuth 2.0 provider extension for
pyramid and are aiming for full integration of draft 18 down the line.

Currently we are focusing on the "client_credentials" grant type, the most
simple type of communication between a consumer and its provider, requiring
no intervention of the resource owner, i.e. the user. After this, we will
fine-tune all the aspects before moving on to implement the other grant
types.

The docs and tests are currently lacking, but they will soon find its way on
the repository.

If you are interested in helping us, don't hesitate to contact me! As
always, feedback is much appreciated.

Kind regards,

Kevin Van Wilder
http://www.tick.ee


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Van Wilder  
View profile  
 More options Aug 10 2011, 2:24 am
From: Kevin Van Wilder <ke...@tick.ee>
Date: Tue, 9 Aug 2011 23:24:54 -0700 (PDT)
Local: Wed, Aug 10 2011 2:24 am
Subject: Re: OAuth 2.0 for Pyramid
Woops, forgot the most important bit: You can find it at
http://code.google.com/p/pyramid-oauth2/

On Aug 9, 8:29 am, Kevin Van Wilder <ke...@tick.ee> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Withers  
View profile  
 More options Aug 13 2011, 5:17 am
From: Chris Withers <ch...@simplistix.co.uk>
Date: Sat, 13 Aug 2011 10:17:06 +0100
Local: Sat, Aug 13 2011 5:17 am
Subject: Re: OAuth 2.0 for Pyramid
Have you taken a look at Velruse:

http://packages.python.org/velruse/

cheers,

Chris

On 10/08/2011 07:24, Kevin Van Wilder wrote:

--
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Van Wilder  
View profile  
 More options Aug 14 2011, 9:39 am
From: Kevin Van Wilder <ke...@tick.ee>
Date: Sun, 14 Aug 2011 06:39:54 -0700 (PDT)
Local: Sun, Aug 14 2011 9:39 am
Subject: Re: OAuth 2.0 for Pyramid

Hi Chris,

As far as I have looked into Velruse, it seems to be about easily
integrating third party authentication providers in your web application.
This is of course fantastic and we will be using Velruse in our own software
once we introduce twitter-login, etc..

However consuming oauth(2?) very well, Velruse does not act as a provider
for OAuth 2 and this is what the pyramid_oauth2 extension is about.

Kind regards,

Kevin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrija Frinčić  
View profile  
 More options Sep 12 2012, 4:21 am
From: Andrija Frinčić <bob.rock...@gmail.com>
Date: Wed, 12 Sep 2012 01:21:02 -0700 (PDT)
Local: Wed, Sep 12 2012 4:21 am
Subject: Re: OAuth 2.0 for Pyramid

Hi Kevin

Is there any sample available or at least basic documentation? We would
like to include oauth2 provider to a pyramid based backend application we
are developing.

Best regards


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lorenzo Gil Sanchez  
View profile  
 More options Sep 12 2012, 2:43 pm
From: Lorenzo Gil Sanchez <lorenzo.gil.sanc...@gmail.com>
Date: Wed, 12 Sep 2012 20:15:26 +0200
Local: Wed, Sep 12 2012 2:15 pm
Subject: Re: OAuth 2.0 for Pyramid
We have developed a simple oauth2 backend at:

https://github.com/Yaco-Sistemas/yith-library-server/tree/master/yith...

It's still work in progress but we are using it in our beta instance at:

https://yithlibrary-webclient.herokuapp.com/

so you can play with it and see how it works

2012/9/12 Andrija Frinčić <bob.rock...@gmail.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Victor Fernandez de Alba  
View profile  
 More options Sep 13 2012, 5:21 am
From: Victor Fernandez de Alba <snerid...@gmail.com>
Date: Thu, 13 Sep 2012 11:21:16 +0200
Local: Thurs, Sep 13 2012 5:21 am
Subject: Re: OAuth 2.0 for Pyramid

For the record...

A few months ago I've developed an Oauth2 provider based in Pyramid too. It
works with the resource owner password credentials flow. This flow is not
the most popular oAuth flow, but it's useful in case that we want to oAuth
enable an app or a set of apps in an scenario with an already existing user
backend. Using this flow you can use Osiris as a gateway between your
existing user store and oAuth enable it. Osiris will authenticate the user
credentials against your user store and if suceeds it will issue a oAuth
token. Then, an app can use it to impersonate the user's token to access an
oAuth enabled REST API, for example.

You can find more information here: https://github.com/sneridagh/osiris

I haven't give it any love in the last months, but it works.

Hey Yaco guys! Great job! It's possible to make the oauth2 provider work
standalone? Which flows implement?

Cheers,

--
Víctor Fernández de Alba
http://about.me/victorfernandezdealba
Twitter/IRC: sneridagh
g+/Facebook: victorfda

On Wed, Sep 12, 2012 at 8:15 PM, Lorenzo Gil Sanchez <

lorenzo.gil.sanc...@gmail.com> wrote:

> We have developed a simple oauth2 backend at:

https://github.com/Yaco-Sistemas/yith-library-server/tree/master/yith...

"pylons-devel" group.
> To post to this group, send email to pylons-devel@googlegroups.com.
> To unsubscribe from this group, send email to

pylons-devel+unsubscribe@googlegroups.com.
> For more options, visit this group at

http://groups.google.com/group/pylons-devel?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lorenzo Gil Sanchez  
View profile  
 More options Sep 13 2012, 5:47 am
From: Lorenzo Gil Sanchez <lorenzo.gil.sanc...@gmail.com>
Date: Thu, 13 Sep 2012 11:47:53 +0200
Local: Thurs, Sep 13 2012 5:47 am
Subject: Re: OAuth 2.0 for Pyramid
2012/9/13 Victor Fernandez de Alba <snerid...@gmail.com>:

Only the response_type = code flow is implemented right now as you can see at:

https://github.com/Yaco-Sistemas/yith-library-server/blob/master/yith...

I plan to add the flow used in javascript applications very soon.

As if it is possible to use standalone, it shouldn't be too difficult
but right now it is not distributed as a separate package, you have to
extract it from Yith Library.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonathan Vanasco  
View profile  
 More options Sep 25 2012, 2:13 pm
From: Jonathan Vanasco <jonat...@findmeon.com>
Date: Tue, 25 Sep 2012 11:13:48 -0700 (PDT)
Local: Tues, Sep 25 2012 2:13 pm
Subject: Re: OAuth 2.0 for Pyramid

This is purely my very opinionated 2˘ ...

I've had to integrate against oAuth a few times, and have constantly found
it a hassle.

The existing 'core' Python libraries for it are rather scattered in terms
of active development, maturity and "street cred" ( by which I mean that
 you'll often find a big name website saying "You should use this library
for oAuth against our API!", yet that library is badly documented, barely
functional, often really out of date with current specs , and ships with a
bunch of its own tests which it won't even pass ).

I've seen a handful of oAuth plugins and "micro-frameworks" for django or
uwsgi servers too.  They try to be a complete plug&play solution, but then
you have to worry about integrating the endpoints, skinning the views, and
persisting the data.  After a few minutes of playing with the modules -- if
your app doesn't meet the exact specs/design requirements of these plugins,
you're looking at a huge mess and really unattractive option.

So for general feedback, I would suggest this:

1- make a core oAuth library that just works , is up to date , and is
designed to easily integrate against
2- create a reference Pyramid/etc implementation of the client and server
functions ( ie, like your sample views )
3- create a bunch of helper functions that aid in setting up the above ,
which people can just call if they're lazy.  

Using SqlAlchemy as a datastore is a neat feature , but there are 2 red
flags to me:

- it doesn't look like i'll ( easily or at all ) be able to override your
tablesnames or database structure
- i'm now limited to sqlalchemy supported databases.  if i'm on
mysql/postgresql/oracle, that's fine - but if i'm using a mongodb or
similar datastore -- forget it.

I would, personally, prefer to have some sort of "config" object that I can
pass in - which defines/provides some callbacks for searching and storing
data.  

Having a drop-in capability and default settings of sqlalchemy are both
fine –- but relying on it?  that seems too much like rails/django and all
that standardization/configuration restrictions which are a huge part of
the reason why people choose Pyramid , Flask, or other frameworks instead
of Django.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Merickel  
View profile  
 More options Sep 25 2012, 2:42 pm
From: Michael Merickel <mmeri...@gmail.com>
Date: Tue, 25 Sep 2012 13:41:30 -0500
Local: Tues, Sep 25 2012 2:41 pm
Subject: Re: OAuth 2.0 for Pyramid

On Tue, Sep 25, 2012 at 1:13 PM, Jonathan Vanasco <jonat...@findmeon.com> wrote:
> This is purely my very opinionated 2˘ ...

> I've had to integrate against oAuth a few times, and have constantly found
> it a hassle.

> The existing 'core' Python libraries for it are rather scattered in terms of
> active development, maturity and "street cred" ( by which I mean that
> you'll often find a big name website saying "You should use this library for
> oAuth against our API!", yet that library is badly documented, barely
> functional, often really out of date with current specs , and ships with a
> bunch of its own tests which it won't even pass ).

I believe this is the purpose of oauthlib. I'd love to see a reference
implementation in pyramid.

https://github.com/idan/oauthlib


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonathan Vanasco  
View profile  
 More options Sep 26 2012, 10:29 am
From: Jonathan Vanasco <jonat...@findmeon.com>
Date: Wed, 26 Sep 2012 07:29:16 -0700 (PDT)
Local: Wed, Sep 26 2012 10:29 am
Subject: Re: OAuth 2.0 for Pyramid

holy crap that sounds awesome.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Elliot Peele  
View profile  
 More options Oct 16 2012, 9:55 pm
From: Elliot Peele <elliot.pe...@gmail.com>
Date: Tue, 16 Oct 2012 18:55:15 -0700 (PDT)
Local: Tues, Oct 16 2012 9:55 pm
Subject: Re: OAuth 2.0 for Pyramid

By any chance, has anyone implemented an oauth provider example using
oauthlib in pyramid?

Are there any other choices? It doesn't look like oauthlib implements an
oath2 server from what I can tell, but it seems to be the only oauth
solution that I have run across that is currently maintained.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »