| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
See https://github.com/oauthlib/oauthlib/pull/605#discussion_r234438151
|
|\ |
|
| |
| |
| | |
FatalClientError is it SHOULD NOT be redirected to client (redirect_uri), but MUST be redirected to USERS (error_uri).
|
|/ |
|
| |
|
|\
| |
| | |
Mention `oauth_body_hash` in OAuth1 client docs
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
Initial issue templates
|
| |\ \
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | | |
PR for #585, `client_id` behavior with `prepare_request_body`
|
| |\ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Unmute ignored OIDC tests.
* Fix more import errors.
* Remove recently invalidated test for id_token_hint.
* Fix tested grants.
* Fix import on py27.
|
|\ \ \ \
| | | | |
| | | | | |
`invalid_grant` status code should be 400
|
| | | | | |
|
| |\ \ \ \
| |/ / / /
|/| | | | |
|
| |\ \ \ \ |
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* fixed some formatting issues in `prepare_token_request` docstring
* slightly altered `prepare_token_request` in handling nontruthy values for `client_secret`.
|
| | | | |\ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
fix-585_client_id
|
| | | | | |\ \ \
| |_|_|_|_|/ / /
|/| | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Correct capitalization of PyPI
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
As spelled on https://pypi.org/.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Fix 431 by adding new CustomError exception
|
| |\ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
(Cherry picked from f3ae98cef91e140b10d25fbd496622d879cc0c0c)
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Remove unmaintained nose dependency from tests
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Merge c8a7cb199a8d448c2934100a5bb06598be402939 mistakenly reverted a
line from aef9a3e944f41c3afaaf22ba20f86a267a7d3bb3.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Remove unnecessary workaround for bytes type
|
| |\ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
Prefer assertIsInstance(...) over assertTrue(isinstance(...))
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
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
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Remove workarounds for unsupported Python 2.6
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Python 2.6 support was removed in
91152df142bdde134d84ed27963cda8e6b878416.
Drop unittest2 dependency. All necessary testing features are included
in the stdlib unittest.
|
| |\ \ \ \ \ \ \ \ |
|
| | | | | | | | | | |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
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.
|
| | | | | | |/ / / |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* added LegacyApplicationClient tests to ensure the grant supports a variety of allowed methods
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
integrated against requests_oauthlib idea
|
| | | | | | | | | |
|
| |_|_|_|_|/ / /
|/| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* `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
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
docstrings fix, try #2
|
| | | | | | | | |
|
| | | | | | | | |
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
fix-inline_docs_2
|
| | |\ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
Attempt to fix 582 to improve coverage statistics
|