Skip to content

Commit

Permalink
Added bottle-oauthlib (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanHuot authored and thedrow committed Jan 2, 2018
1 parent cfb82fe commit 66d7296
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
2 changes: 2 additions & 0 deletions README.rst
Expand Up @@ -56,6 +56,7 @@ The following packages provide OAuth support using OAuthLib.
- For Django there is `django-oauth-toolkit`_, which includes `Django REST framework`_ support.
- For Flask there is `flask-oauthlib`_ and `Flask-Dance`_.
- For Pyramid there is `pyramid-oauthlib`_.
- For Bottle there is `bottle-oauthlib`_.

If you have written an OAuthLib package that supports your favorite framework,
please open a Pull Request, updating the documentation.
Expand All @@ -65,6 +66,7 @@ please open a Pull Request, updating the documentation.
.. _`Django REST framework`: http://django-rest-framework.org
.. _`Flask-Dance`: https://github.com/singingwolfboy/flask-dance
.. _`pyramid-oauthlib`: https://github.com/tilgovi/pyramid-oauthlib
.. _`bottle-oauthlib`: https://github.com/thomsonreuters/bottle-oauthlib

Using OAuthLib? Please get in touch!
------------------------------------
Expand Down
17 changes: 13 additions & 4 deletions docs/faq.rst
Expand Up @@ -65,10 +65,17 @@ How do I use OAuthLib with Google, Twitter and other providers?
How do I use OAuthlib as a provider with Django, Flask and other web frameworks?
--------------------------------------------------------------------------------

Providers using Django should seek out `django-oauth-toolkit`_
and those using Flask `flask-oauthlib`_. For other frameworks,
please get in touch by opening a `GitHub issue`_, on `G+`_ or
on IRC #oauthlib irc.freenode.net.
Providers can be implemented in any web frameworks. However, some of
them have ready-to-use libraries to help integration:
- Django `django-oauth-toolkit`_
- Flask `flask-oauthlib`_
- Pyramid `pyramid-oauthlib`_
- Bottle `bottle-oauthlib`_

For other frameworks, please get in touch by opening a `GitHub issue`_, on `G+`_ or
on IRC #oauthlib irc.freenode.net. If you have written an OAuthLib package that
supports your favorite framework, please open a Pull Request to update the docs.


What is the difference between authentication and authorization?
----------------------------------------------------------------
Expand All @@ -91,6 +98,8 @@ Some argue OAuth 2 is worse than 1, is that true?
.. _`requests-oauthlib`: https://github.com/requests/requests-oauthlib
.. _`django-oauth-toolkit`: https://github.com/evonove/django-oauth-toolkit
.. _`flask-oauthlib`: https://github.com/lepture/flask-oauthlib
.. _`pyramid-oauthlib`: https://github.com/tilgovi/pyramid-oauthlib
.. _`bottle-oauthlib`: https://github.com/thomsonreuters/bottle-oauthlib
.. _`GitHub issue`: https://github.com/idan/oauthlib/issues/new
.. _`G+`: https://plus.google.com/communities/101889017375384052571
.. _`difference`: http://www.cyberciti.biz/faq/authentication-vs-authorization/
2 changes: 1 addition & 1 deletion docs/oauth2/endpoints/endpoints.rst
Expand Up @@ -23,7 +23,7 @@ handles user authorization, the token endpoint which provides tokens and the
resource endpoint which provides access to protected resources. It is to the
endpoints you will feed requests and get back an almost complete response. This
process is simplified for you using a decorator such as the django one described
later.
later (but it's applicable to all other web frameworks librairies).

The main purpose of the endpoint in OAuthLib is to figure out which grant type
or token to dispatch the request to.
8 changes: 6 additions & 2 deletions docs/oauth2/server.rst
Expand Up @@ -6,8 +6,10 @@ OAuthLib is a dependency free library that may be used with any web
framework. That said, there are framework specific helper libraries
to make your life easier.

- For Django there is `django-oauth-toolkit`_.
- For Flask there is `flask-oauthlib`_.
- Django `django-oauth-toolkit`_
- Flask `flask-oauthlib`_
- Pyramid `pyramid-oauthlib`_
- Bottle `bottle-oauthlib`_

If there is no support for your favourite framework and you are interested
in providing it then you have come to the right place. OAuthLib can handle
Expand All @@ -17,6 +19,8 @@ as well as provide an interface for a backend to store tokens, clients, etc.

.. _`django-oauth-toolkit`: https://github.com/evonove/django-oauth-toolkit
.. _`flask-oauthlib`: https://github.com/lepture/flask-oauthlib
.. _`pyramid-oauthlib`: https://github.com/tilgovi/pyramid-oauthlib
.. _`bottle-oauthlib`: https://github.com/thomsonreuters/bottle-oauthlib

.. contents:: Tutorial Contents
:depth: 3
Expand Down

0 comments on commit 66d7296

Please sign in to comment.