librelist archives

« back to archive

Introducing Flask-Dance

Introducing Flask-Dance

From:
David Baumgold
Date:
2014-10-13 @ 20:05
I’m announcing a new Flask extension that I’ve been working on for awhile.
It’s called Flask-Dance, and it’s used for easy OAuth authentication. I 
tried Flask-OAuth and Flask-OAuthlib, and I felt like their APIs were too 
complicated — I wanted something that was simultaneously powerful, 
flexible, and really, really simple — just like Flask! Flask-Dance is 
built on top of requests and oauthlib, and it uses blueprints to expose 
the URL routes that OAuth requires. It integrates seamlessly with 
Flask-SQLAlchemy, Flask-Login, and Flask-Cache, but doesn’t require any of
them. It’s well-tested and well-documented, and I’d love to get some 
feedback about how it can improve. And if you decide to use it yourself, 
I’d love to hear about it!  

Check it out: https://github.com/singingwolfboy/flask-dance

NOTE: The example in the Quickstart doesn’t currently work, because it 
depends on a feature that is in the development version of 
requests-oauthlib, but hasn’t been released to PyPI yet. See 
https://github.com/requests/requests-oauthlib/issues/150 for more info.

PS: Why the name “Flask-Dance”? Because everyone calls the step-by-step 
process of establishing OAuth authentication “the OAuth dance” already, 
and it’s a fun name. Also, because “Flask-OAuth” and “Flask-OAuthlib” were
taken,and  “Flask-Requests-OAuthlib” is too awkward. :)

-David Baumgold (@singingwolfboy)

Re: [flask] Introducing Flask-Dance

From:
Jonathan Grahl
Date:
2014-10-14 @ 06:58
Looks great! I was about to do one of my own for Twitch & Steam login, 
might as well use this. I’ll get back to you later for some (hopefully) 
PR’s!
-- 
Jonathan Grahl
Sent with Airmail

On 13 Oct 2014 at 22:09:16, David Baumgold (david@davidbaumgold.com) wrote:

I’m announcing a new Flask extension that I’ve been working on for awhile.
It’s called Flask-Dance, and it’s used for easy OAuth authentication. I 
tried Flask-OAuth and Flask-OAuthlib, and I felt like their APIs were too 
complicated — I wanted something that was simultaneously powerful, 
flexible, and really, really simple — just like Flask! Flask-Dance is 
built on top of requests and oauthlib, and it uses blueprints to expose 
the URL routes that OAuth requires. It integrates seamlessly with 
Flask-SQLAlchemy, Flask-Login, and Flask-Cache, but doesn’t require any of
them. It’s well-tested and well-documented, and I’d love to get some 
feedback about how it can improve. And if you decide to use it yourself, 
I’d love to hear about it!  

Check it out: https://github.com/singingwolfboy/flask-dance  

NOTE: The example in the Quickstart doesn’t currently work, because it 
depends on a feature that is in the development version of 
requests-oauthlib, but hasn’t been released to PyPI yet. See 
https://github.com/requests/requests-oauthlib/issues/150 for more info.  

PS: Why the name “Flask-Dance”? Because everyone calls the step-by-step 
process of establishing OAuth authentication “the OAuth dance” already, 
and it’s a fun name. Also, because “Flask-OAuth” and “Flask-OAuthlib” were
taken,and “Flask-Requests-OAuthlib” is too awkward. :)  

-David Baumgold (@singingwolfboy)  

Re: [flask] Introducing Flask-Dance

From:
Derek Gaston
Date:
2014-10-13 @ 21:34
Cool - thanks for the work David!  I'll definitely try it out and see if I
can replace my custom made OAuth "dance" code with it....

On Mon, Oct 13, 2014 at 4:05 PM, David Baumgold <david@davidbaumgold.com>
wrote:

> I’m announcing a new Flask extension that I’ve been working on for awhile.
> It’s called Flask-Dance, and it’s used for easy OAuth authentication. I
> tried Flask-OAuth and Flask-OAuthlib, and I felt like their APIs were too
> complicated — I wanted something that was simultaneously powerful,
> flexible, and really, really simple — just like Flask! Flask-Dance is built
> on top of requests and oauthlib, and it uses blueprints to expose the URL
> routes that OAuth requires. It integrates seamlessly with Flask-SQLAlchemy,
> Flask-Login, and Flask-Cache, but doesn’t require any of them. It’s
> well-tested and well-documented, and I’d love to get some feedback about
> how it can improve. And if you decide to use it yourself, I’d love to hear
> about it!
>
> Check it out: https://github.com/singingwolfboy/flask-dance
>
> NOTE: The example in the Quickstart doesn’t currently work, because it
> depends on a feature that is in the development version of
> requests-oauthlib, but hasn’t been released to PyPI yet. See
> https://github.com/requests/requests-oauthlib/issues/150 for more info.
>
> PS: Why the name “Flask-Dance”? Because everyone calls the step-by-step
> process of establishing OAuth authentication “the OAuth dance” already, and
> it’s a fun name. Also, because “Flask-OAuth” and “Flask-OAuthlib” were
> taken,and  “Flask-Requests-OAuthlib” is too awkward. :)
>
> -David Baumgold (@singingwolfboy)
>