summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix PyPy build in Xenial.python-3.7Pieter Ennes2018-12-032-3/+3
|
* Add PyCharm ignore.Pieter Ennes2018-12-031-0/+2
|
* Support for Python 3.7.Pieter Ennes2018-12-033-1/+6
|
* Merge pull request #616 from oauthlib/oidc-docJonathan Huot2018-11-294-22/+96
|\ | | | | Add OIDC and id_token as JWT example
| * Merge branch 'master' into oidc-docJonathan Huot2018-11-299-33/+291
| |\ | |/ |/|
* | Merge pull request #614 from oauthlib/613-oidc-dispatcherJonathan Huot2018-11-265-33/+58
|\ \ | | | | | | 613 oidc dispatcher
| * \ Merge branch 'master' into 613-oidc-dispatcher613-oidc-dispatcherJonathan Huot2018-11-235-0/+234
| |\ \ | |/ / |/| |
* | | Merge pull request #605 from oauthlib/oauth-metadataJonathan Huot2018-11-235-0/+234
|\ \ \ | | | | | | | | Initial OAuth Authorization Server Metadata RFC8414
| * | | Allow custom provider to override oauthlib valuesoauth-metadataJonathan Huot2018-11-212-6/+18
| | | | | | | | | | | | | | | | See https://github.com/oauthlib/oauthlib/pull/605#discussion_r234438151
| * | | Merge branch 'master' into oauth-metadataOmer Katz2018-11-011-1/+1
| |\ \ \ | |/ / / |/| | |
| * | | Initial OAuth Authorization Server Metadata RFC8414Jonathan Huot2018-10-255-0/+222
| | | |
| | * | Fix unit tests for new Dispatch attributes namesJonathan Huot2018-11-201-8/+8
| | | |
| | * | Replaced distinct classes by a more unified one.Jonathan Huot2018-11-202-25/+30
| | | | | | | | | | | | | | | | "default_grant" and "oidc_grant" must be two generic attributes of OpenID Connect Dispatcher. We should not leave each Dispatcher implementation have this own attributes names.
| | * | Import OIDC main classes identically than OAuth2Jonathan Huot2018-11-202-0/+20
| |/ / |/| | | | | | | | import oauthlib.oauth2.Server must be replaced with oauthlib.openid.Server
| | * Add OIDC and id_token as JWT exampleoidc-docJonathan Huot2018-11-234-21/+96
| |/ |/|
* | Wrong Client is also a FatalClientError (#608)Jonathan Huot2018-11-011-1/+1
|/ | | FatalClientError is it SHOULD NOT be redirected to client (redirect_uri), but MUST be redirected to USERS (error_uri).
* Bump version to prepare 3.0.0Jonathan Huot2018-10-051-1/+1
|
* Merge pull request #583 from ngoue/masterJonathan Huot2018-10-041-3/+11
|\ | | | | Mention `oauth_body_hash` in OAuth1 client docs
| * Merge branch 'master' into masterJonathan Huot2018-10-0461-316/+848
| |\ | |/ |/|
* | Merge pull request #577 from oauthlib/541_issue_templateJonathan Huot2018-09-242-0/+38
|\ \ | | | | | | Initial issue templates
| * \ Merge branch 'master' into 541_issue_templatePieter Ennes2018-09-2361-321/+864
| |\ \ | |/ / |/| |
* | | Merge pull request #593 from jvanasco/fix-585_client_idJonathan Huot2018-09-2110-27/+281
|\ \ \ | | | | | | | | PR for #585, `client_id` behavior with `prepare_request_body`
| * \ \ Merge branch 'master' into fix-585_client_idJonathan Huot2018-09-2117-58/+46
| |\ \ \ | |/ / / |/| | |
* | | | Fix OIDC tests (#565)Pieter Ennes2018-09-2115-56/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Unmute ignored OIDC tests. * Fix more import errors. * Remove recently invalidated test for id_token_hint. * Fix tested grants. * Fix import on py27.
* | | | Merge pull request #561 from freeduerinckx/invalid-grant-should-respond-with-400Jonathan Huot2018-09-202-2/+4
|\ \ \ \ | | | | | | | | | | `invalid_grant` status code should be 400
| * | | | fixup! `invalid_grant` status code should be 400Free Duerinckx2018-09-201-0/+2
| | | | |
| * | | | Merge branch 'master' into invalid-grant-should-respond-with-400Omer Katz2018-09-2039-240/+593
| |\ \ \ \ | |/ / / / |/| | | |
| * | | | Merge branch 'master' into invalid-grant-should-respond-with-400Jonathan Huot2018-08-139-13/+155
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into invalid-grant-should-respond-with-400Jonathan Huot2018-08-1215-27/+76
| |\ \ \ \ \
| * | | | | | `invalid_grant` status code should be 400Free Duerinckx2018-07-042-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to section 5.2 of rfc 6749 (https://tools.ietf.org/html/rfc6749#section-5.2) A server should respond with 400 in case of an invalid grant. The given grant is invalid and the client should give other data. A 401 is not applicable here because the client is required to give a suitable Authorization header field which doesn't make any sense if you are trying to acquire a grant authentication. According to sections 10.4.1 and 10.4.2 of rfc 2616 (https://tools.ietf.org/html/rfc2616#section-10.4.1)
| | | | * | | * changed "function definition" to "function signature" in two docstringsjonathan vanasco2018-09-203-15/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed some formatting issues in `prepare_token_request` docstring * slightly altered `prepare_token_request` in handling nontruthy values for `client_secret`.
| | | | * | | Merge branch 'fix-585_client_id' of github.com:jvanasco/oauthlib into ↵jonathan vanasco2018-09-1717-74/+57
| | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fix-585_client_id
| | | | | * \ \ Merge branch 'master' into fix-585_client_idJonathan Huot2018-09-1717-74/+57
| | | | | |\ \ \ | |_|_|_|_|/ / / |/| | | | | | |
* | | | | | | | Merge pull request #600 from jdufresne/cap-pypiJonathan Huot2018-09-173-3/+3
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Correct capitalization of PyPI
| * | | | | | | | Correct capitalization of PyPIJon Dufresne2018-09-163-3/+3
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | As spelled on https://pypi.org/.
* | | | | | | | Merge pull request #587 from oauthlib/431-customexceptionJonathan Huot2018-09-152-0/+16
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix 431 by adding new CustomError exception
| * \ \ \ \ \ \ \ Merge branch 'master' into 431-customexceptionJonathan Huot2018-09-1530-212/+456
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | Remove last remaining G+ reference. (#598)Pieter Ennes2018-09-152-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | (Cherry picked from f3ae98cef91e140b10d25fbd496622d879cc0c0c)
* | | | | | | | | Merge pull request #599 from jdufresne/no-noseHsiaoming Yang2018-09-153-4/+5
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Remove unmaintained nose dependency from tests
| * | | | | | | | | Remove unmaintained nose dependency from testsJon Dufresne2018-09-143-4/+5
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The nose project has ceased development. From their docs page: https://nose.readthedocs.io/ > Note to Users > > Nose has been in maintenance mode for the past several years and will > likely cease without a new person/team to take over maintainership. > New projects should consider using Nose2, py.test, or just plain > unittest/unittest2. Simplify test infrastructure by using the stdlib unittest discover command. One fewer dependency.
* | | | | | | | | Correct recent merge (#596)Jon Dufresne2018-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge c8a7cb199a8d448c2934100a5bb06598be402939 mistakenly reverted a line from aef9a3e944f41c3afaaf22ba20f86a267a7d3bb3.
* | | | | | | | | Merge pull request #595 from jdufresne/bytesJonathan Huot2018-09-146-31/+19
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Remove unnecessary workaround for bytes type
| * \ \ \ \ \ \ \ \ Merge branch 'master' into bytesJonathan Huot2018-09-141-7/+7
| |\ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | |
* | | | | | | | | | Merge pull request #594 from jdufresne/isinstanceJonathan Huot2018-09-142-8/+8
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Prefer assertIsInstance(...) over assertTrue(isinstance(...))
| * | | | | | | | | | Prefer assertIsInstance(...) over assertTrue(isinstance(...))Jon Dufresne2018-09-142-8/+8
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is a more explicit assert with a more information message in case of failure. For a full list of available assert methods, see: https://docs.python.org/3/library/unittest.html#assert-methods
| * | | | | | | | | Remove unnecessary workaround for bytes typeJon Dufresne2018-09-146-31/+19
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The type 'bytes' is available on all supported Pythons. Likewise the byte literal b'...' is available on all supported Pythons. Use idiomatic Python and remove workaround for an issue that no longer exists. Makes the code more forward compatible with Python 3.
* | | | | | | | | Merge pull request #590 from jdufresne/unittest2Hsiaoming Yang2018-09-143-27/+5
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Remove workarounds for unsupported Python 2.6
| * | | | | | | | | Remove workarounds for unsupported Python 2.6Jon Dufresne2018-09-113-27/+5
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 2.6 support was removed in 91152df142bdde134d84ed27963cda8e6b878416. Drop unittest2 dependency. All necessary testing features are included in the stdlib unittest.
| * | | | | | | | Merge branch 'master' into 431-customexception431-customexceptionJonathan Huot2018-09-111-1/+2
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Fixed py27/pypy supportJonathan Huot2018-09-101-1/+1
| | | | | | | | | |