summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add test coverage (#544)Florian Strzelecki2018-05-212-5/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add testcase for prepare_token_request() * Add testcase for InsecureTransportError in add_token() * Fix typo in testcase of add_token() for MAC token type * Add testcase for TokenExpiredError in add_token() * Add testcase for prepare_request_body without private key * Add testcase for optional kwargs in prepare_request_body()
* | Ignore Python 2.7 fallback branch.Omer Katz2018-05-201-1/+1
| |
* | Fix .coveragerc.Omer Katz2018-05-201-1/+0
| |
* | Added .coveragerc.Omer Katz2018-05-201-0/+21
| |
* | Don't cover the fallback branch.Omer Katz2018-05-201-1/+1
| |
* | Backward compatibility fix for requests-oauthlib. (#546)Pieter Ennes2018-05-183-6/+12
| |
* | Avoid populating spurious token credentials (#542)Pieter Ennes2018-05-085-9/+45
| |
* | Fixed some copy and paste typos (#535)paulie42018-04-131-2/+2
| | | | | | Fixed some copy and paste typos, see issue #532.
* | Use secrets module in Python 3.6 and later (#533)Olaf Conradi2018-04-133-8/+16
| | | | | | | | | | | | | | | | | | The secrets module should be used for generating cryptographically strong random numbers suitable for managing data such as passwords, account authentication, security tokens, and related secrets. In particularly, secrets should be used in preference to the default pseudo-random number generator in the random module, which is designed for modelling and simulation, not security or cryptography.
* | Add request argument to confirm_redirect_uri (#504) (#504)Jimmy Thrasibule2018-04-133-3/+4
| |
* | Merge pull request #530 from skion/2.0.7-to-masterPieter Ennes2018-03-193-2/+27
|\ \ | | | | | | Merge 2.0.7 back to master
| * | Update changelog for 2.0.7.Pieter Ennes2018-03-192-2/+10
| | | | | | | | | | | | (cherry picked from commit e7b906a)
| * | Version bump 2.0.7.Pieter Ennes2018-03-192-2/+19
|/ / | | | | | | (cherry picked from commit 67ebd7a)
* | Generated api_key from travis setup releasesJonathan Huot2018-03-191-1/+1
| |
* | Fixed indentation after travis setupJonathan Huot2018-03-191-16/+13
| |
* | Fix Travis config (#529)Pieter Ennes2018-03-191-5/+8
| | | | | | | | | | | | * Fix indentation in Travis config. * Fill GitHub OAuth key. * Deploy tags from all branches.
* | Fixed pypi credentials since oauthlib move. (#527)Jonathan Huot2018-03-191-2/+2
| |
* | Update requirements.Pieter Ennes2018-03-191-3/+3
| |
* | Added Github Releases deploy provider.Jonathan Huot2018-03-181-8/+14
| |
* | Replace IRC notificatgion with Gitter HookJonathan Huot2018-03-181-1/+6
| |
* | Fixed "make" command to test upstream with local oauthlib. (#522)Jonathan Huot2018-03-181-32/+42
| |
* | Fix ReadTheDocs build (#521)Jonathan Huot2018-03-182-3/+6
| |
* | Add shields for Python versions, license and RTD.Pieter Ennes2018-03-181-3/+15
| |
* | Replace G+ with Gitter. (#517)Pieter Ennes2018-03-071-6/+7
| |
* | Update repository location in Travis. (#514)Pieter Ennes2018-02-281-1/+1
| |
* | Rtd docs fix (#515)Jonathan Huot2018-02-2843-202/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added sphinx build for developers Rationale is to build docs locally to prevent RTD to break later. * Replace manual sphinx into make * Renamed idan URL to oauthlib community * Renamed http into https URLs since http is returning 302 * python requests library renamed its home URL * Add ignore list for "make linkcheck" linkcheck is doing requests to github with anonymous access, however creating an issue require an logged-in account * virtualenv changed its homepage and website. * Fixed broken link
* | Openid connect jwt (#488)Wiliam Souza2018-01-307-8/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add JWT token with it the server knows how to validate this new type of token in resource requests * Change find_token_type sorted function to reverse result and choose the valued estimated token handler * Add validate_id_token method to RequestValidator * Added unittest for JWTToken model * Updated version of Mock * Add get_jwt_bearer_token and validate_jwt_bearer_token oauthlib.oauth2.RequestValidator and change oauthlib.oauth2.tokens JWTToken to use it * Change to improve token type estimate test * Add a note in RequestValidator.validate_jwt_bearer_token about error 5xx rather 4xx
* | Fix cliend_id in web request body (#505)Antoine Bertin2018-01-292-2/+2
| | | | | | | | | | | | Previously, cliend_id was always included in the request body in the Authorization Code flow and the client_id parameter was ignored in contradiction with the docs. Fixes #495
* | Added bottle-oauthlib (#509)Jonathan Huot2018-01-024-7/+22
| |
| * Improved doc by adding links to RFC and list of claims.Jonathan Huot2017-12-191-5/+25
| |
| * Added default supported_token_types for MobileJonathan Huot2017-12-191-1/+2
| |
| * Added initial introspect supportJonathan Huot2017-12-1810-12/+339
|/
* Add support for HMAC-SHA256 (builds on PR#388) (#498)Viktor Haag2017-11-144-7/+103
| | | | | | | | | | | | * Add support for HMAC-SHA256 * Add explicit declaration of HMAC-SHA1 and point HMAC at it To avoid confusion, HMAC constant name should explicitly state which SHA variant is used, but for backwards compatibility, SIGNATURE_HMAC is still needed * add support for HMAC-SHA256 including tests and comments * constructor tests verify client built with correct signer method
* Check access token in self.token dict (#500)Grey Li2017-11-141-1/+1
| | | | | | * Check access token in self.token dict * fix typo
* When deploying a release to PyPI, include the wheel distribution (#496)Jon Dufresne2017-10-271-0/+1
| | | | | | | | For Travis CI documentation on including a bdist_wheel distribution, see: https://docs.travis-ci.com/user/deployment/pypi/#Uploading-different-distributions Fixes #493
* Include license file in the generated wheel package (#494)Jon Dufresne2017-10-241-0/+3
| | | | | | | The wheel package format supports including the license file. This is done using the [metadata] section in the setup.cfg file. For additional information on this feature, see: https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file
* Version bump 2.0.5v2.0.5Hsiaoming Yang2017-10-192-1/+7
|
* Try another way to fix travisHsiaoming Yang2017-10-191-1/+3
|
* Fix travis for PyPyHsiaoming Yang2017-10-191-1/+1
| | | | This is due to https://github.com/pyca/cryptography/pull/3970
* Refactor OAuth2ErrorHsiaoming Yang2017-10-181-6/+14
|
* OpenID connect improvements (#484)Wiliam Souza2017-10-019-31/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change create_token_response to only save access_token when it's present in request.response_type * Remove unused import, fix indentation and improve comment * Fix AuthorizationEndpoint response_type for OpenID Connect hybrid flow * Add new ImplicitTokenGrantDispatcher Changes AuthorizationEndpoint response_type `'token'`, `'id_token'` and `'id_token token'` to work with OpenID Connect and OAuth2 implicit flow in a transparent way * Add new AuthTokenGrantDispatcher Change AuthorizationEndpoint grant_types `'authorization_code'` to work with OpenID Connect and OAuth2 authorization flow in a transparent way * Change tests to include required client_id and redirect_uri * Remove AuthorizationEndpoint grant_types `'openid'` Now OpenID Connect and OAuth2 authorization flow can use `authorization_code` in a transparent way * Add sone blank lines and fix indentation * Change AuthorizationEndpoint grant type id_token and id_token token to use openid_connect_implicit direct * Change default empty value to None and fix a typo * Add assert called to AuthTokenGrantDispatcher tests * Add request to get_authorization_code_scopes
* Merge pull request #487 from MitterdorferMathias/masterOmer Katz2017-09-241-0/+1
|\ | | | | initialization of variable
| * if `in_uri` is called and `response_mode` is not initialized an exception is ↵Mathias Mitterdorfer2017-09-221-0/+1
|/ | | | raised (used by Flask_OAuthlib)
* Merge pull request #481 from skion/always-nonceOmer Katz2017-09-182-3/+21
|\ | | | | Pass through nonce in code flow
| * Add test for nonce parameter preservation.Pieter Ennes2017-09-171-0/+12
| |
| * Add nonce to docstring.Pieter Ennes2017-09-171-0/+7
| |
| * Pass through nonce in code flow.Pieter Ennes2017-09-171-3/+2
|/
* Bump version.v2.0.4Omer Katz2017-09-172-1/+5
|
* Fixed typo in imports.Omer Katz2017-09-171-1/+1
|
* Sorted imports.Omer Katz2017-09-1775-239/+296
|