I started an oauthlib integration a while back. It's not feature complete and it's light on documentation, but if there's interest I would love to see it grow. It is meant to make it easy to create an oauth provider.
https://github.com/tilgovi/pyramid-oauthlib On Tue, Mar 14, 2017, 18:01 Jonathan Vanasco <[email protected]> wrote: > We do the same thing. > > A few notes: > > * I run the authorization API as a standalone app/service, and also run > the read/write APIs as a third service. Our services have hit the api with > their endpoint in their path (ie /api/v1/app1 /api/v1/app2) so they can be > partitioned out later if needed and scaled independently. This may seem > like a minor detail, but it avoids bottlenecks and lets you fine-tune the > service allocations on your hardware. IIRC, our auth-only server runs under > 70MB but our "all-in" app servers run north of 200MB. > > * i modeled a very lowlevel oauth integration against flask-oauth. it's a > standlone package that I can share or opensource if you'd like. > > * oauthlib has a bit of problem that may or may not affect you -- it > requires a spec-compliant oauth server, which you can build but you can't > rely on to consume. in the wild, most oauth servers are not fully spec > compliant (twitter, for example, has some endpoints that will send data in > both headers and content) . it's a bit of a hassle to get around, but you > can monkeypatch if needed. > > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pylons-discuss/32d1bc7b-58d1-4e7c-9a6a-482f2e14a897%40googlegroups.com > <https://groups.google.com/d/msgid/pylons-discuss/32d1bc7b-58d1-4e7c-9a6a-482f2e14a897%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAAL6JQiFG90c7KKUf%2BdEuCav%2Bxoc50wJv6Yf9F7ay6T9VZJeBQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
