summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\
| * 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).
* | Initial OAuth Authorization Server Metadata RFC8414Jonathan Huot2018-10-255-0/+222
|/
* 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
| | | | | | | | | |
| * | | | | | | | | Add support of custom errors coming from providersJonathan Huot2018-09-102-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #431. The inherent function "raise_from_error" is called when "error=" is found in the payload. So it MUST raise something, and until now, only RFC errors were raised.
| | | | | | * | | | migrated `include_client_id` to `prepare_request_token`jonathan vanasco2018-09-178-28/+137
| | | | | | |/ / /
| | | | | | * | | * added support for empty strings of `client_secret`jonathan vanasco2018-09-175-10/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added LegacyApplicationClient tests to ensure the grant supports a variety of allowed methods
| | | | | | * | | standardized some test valuesjonathan vanasco2018-09-143-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | integrated against requests_oauthlib idea
| | | | | | * | | updated tests to pass on 2.x and 3.xjonathan vanasco2018-09-131-5/+10
| | | | | | | | |
| | | | | | * | | * addresing ticket #585jonathan vanasco2018-09-137-16/+90
| |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * `prepare_request_body` client_id is deprecated in favor of include_client_id * a new unit test `test_prepare_request_body` is added to ensure conformity of several use cases * the docstrings for the `body` param have been consolidated and standardized across multiple functions linked to `prepare_request_body` for clarity
* | | | | | | | Merge pull request #588 from jvanasco/fix-inline_docs_2Jonathan Huot2018-09-1117-141/+418
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | docstrings fix, try #2
| * | | | | | | idea for documentation in contributing.rstjonathan vanasco2018-09-111-0/+52
| | | | | | | |
| * | | | | | | fixed spacingjonathan vanasco2018-09-111-1/+1
| | | | | | | |
| * | | | | | | Merge branch 'fix-inline_docs_2' of github.com:jvanasco/oauthlib into ↵jonathan vanasco2018-09-111-1/+2
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | fix-inline_docs_2
| | * \ \ \ \ \ \ Merge branch 'master' into fix-inline_docs_2Jonathan Huot2018-09-111-1/+2
| | |\ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | |
* | | | | | | | | Merge pull request #589 from oauthlib/582-coverallsJonathan Huot2018-09-111-1/+2
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | Attempt to fix 582 to improve coverage statistics