summaryrefslogtreecommitdiff
path: root/oauthlib/openid/connect/core
Commit message (Collapse)AuthorAgeFilesLines
* Update pre-configured OIDC server to use OIDC flavor of Refresh Token grant ↵Burke Livingston2022-10-061-2/+4
| | | | | | | | | type (#838) * Modify pre-configured OIDC server to use OIDC Refresh Token grant type * Add test coverage for OIDC refresh token grant type * Use longer variable names
* Upgrade GitHub Actions and make bandit, codespell, and pytest mandatory (#835)Christian Clauss2022-10-061-1/+1
| | | | | | | * Upgrade GitHub Actions * Fix typo discovered by codespell * Update lint_python.yml
* docs: Fix a few typosTim Gates2022-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | There are small typos in: - docs/oauth1/security.rst - docs/oauth2/grants/custom_grant.rst - oauthlib/oauth2/rfc6749/clients/backend_application.py - oauthlib/oauth2/rfc6749/clients/base.py - oauthlib/oauth2/rfc6749/clients/legacy_application.py - oauthlib/oauth2/rfc6749/clients/service_application.py - oauthlib/oauth2/rfc6749/clients/web_application.py - oauthlib/oauth2/rfc6749/endpoints/revocation.py - oauthlib/oauth2/rfc6749/parameters.py - oauthlib/openid/connect/core/grant_types/dispatchers.py Fixes: - Should read `parameters` rather than `paramters`. - Should read `instantiate` rather than `instanciate`. - Should read `successfully` rather than `sucessfully`. - Should read `present` rather than `pressent`. - Should read `parameter` rather than `paramater`. - Should read `efficient` rather than `effecient`.
* Fixed isort importsDariusz Smigiel2022-06-162-2/+3
| | | | | tox runs isort, whicn pointed multiple errors. Fixed them in this PR
* Docs: fix Sphinx warnings for better ReadTheDocs generation (#807)Jonathan Huot2022-02-241-7/+14
| | | | | | | | | | | | | | | | | | | | | | | * Fix list of current features for 3.2.0 * Renamed travis-ci.org icon URLs * Force fixing the warnings in the docs generation * Removed unused folder reference * Added orphean documents into summary. * Fix docstring formatting example in contributing page. * Removed unused argument from documentation * Fix sphinx warning resulting in loss of formatting in RTD. * Force setuptools until https://github.com/pypa/setuptools/issues/3118 is fixed * Prevent linux redirection in travis instructions * Add graphviz/dot command to generate docs frmo Travis
* Move refresh_id_token to validator functionNikos Sklikas2021-06-032-4/+14
|
* Add support for refreshing ID TokensNikos Sklikas2021-06-032-0/+37
|
* per @JonathanHuot use existing get_token_from_header()Alan Crosswell2021-05-291-13/+5
|
* handle another case of assuming the token starts after 'Bearer 'Alan Crosswell2021-05-291-5/+6
|
* Fix Authorization header that is not a Bearer to not return a tokenAlan Crosswell2021-05-291-1/+3
|
* Properly handle prompt=noneNikos Sklikas2021-05-013-41/+1
|
* Use request.nonce when generating hybrid id tokenTom Evans2021-02-121-0/+3
| | | | | | | | | | Like with the implicit grant, we need to override add_id_token to pass the nonce from the current request to GrantBase.add_id_token in order for the ID token to have the correct nonce. Add test that the nonce is in ID token from hybrid OIDC flow. Fixes: #746
* Remove Python 2 codes (#734)Asif Saif Uddin2020-05-128-8/+0
| | | | | | | | | * Update setup.py * remove un needed python 2 codes * remove un needed python 2 codes * remove un needed python 2 codes
* Sorted oauthlib imports per isort 4.3.21Anton Ruhlov2020-04-109-35/+36
|
* Merge branch 'master' into doc-oidcJonathan Huot2020-01-291-1/+1
|\
| * Fix simple typo: wich -> which (#710)Tim Gates2019-11-121-1/+1
| |
* | Improved OIDC documentationdoc-oidcJonathan Huot2019-10-281-4/+13
|/
* Make grants public attributes of pre_configured server class (#613)Ivan Anishchuk2019-10-221-28/+28
| | | | To make registering hooks without custom server class easier.
* The future is nowHugo2019-08-1510-21/+0
|
* Upgrade Python syntax with pyupgradeHugo2019-08-156-8/+8
|
* Drop support for legacy Python 2.7Hugo2019-08-151-2/+1
|
* Add UserInfoEndpoint to the OIDC Provider support.Jonathan Huot2019-05-134-1/+148
|
* Removed wrong assumption from copy/paste of get_autho.._scopes.Jonathan Huot2019-04-291-3/+2
| | | | This function should always have a good client_id and redirect_uri, because it is called after validate_token_request()
* Fix typo gave/haveJonathan Huot2019-04-291-2/+2
|
* Fix docstring about return valueJonathan Huot2019-04-291-1/+1
|
* Python2.7 compatibleJonathan Huot2019-03-261-2/+2
|
* Add unittests for OIDC GrantTypeBase.Jonathan Huot2019-03-261-3/+3
| | | | Rename hash_id_token into id_token_hash
* Use native operator instead type conversionJonathan Huot2019-03-261-1/+1
|
* Renamed fill into finalize to add clarityJonathan Huot2019-03-262-5/+5
|
* Add c_hash. Add summary about when nonce/hashes are added to id_tokenJonathan Huot2019-02-281-0/+29
|
* Add technicals fields of `id_token` in oauthlib OIDC supportJonathan Huot2019-02-284-9/+154
| | | | A new RequestValidator `fill_id_token` has been introduced to replace `get_id_token`. It aims to have the bare minimum amount of fields to complete a full OIDC id_token support. `get_id_token` is still valid but optional, and if it is implemented, `fill_id_token` will not be called. The current `fill_id_token` came with full support of `aud`, `iat`, `nonce`, `at_hash` and `c_hash`. More could come in the future e.g. `auth_time`, ...
* OIDC: Raise error=invalid_request when nonce is mandatoryJonathan Huot2019-02-253-25/+46
| | | | Until now, only OIDC implicit was raising an error, but OIDC hybrid contain a couple of mandatory nonce, too.
* Fix 652: removed "state" from /token response.Jonathan Huot2019-02-203-4/+6
| | | | | | Fix OIDC /token flow where &state=None was always returned, and fix OAuth2.0 /token flow where &state=foobar was returned if &state=foobar was present in the token request. Remove "save_token" from create_token() signature cuz it was not used internally. Deprecated the option to let upstream libraries have a chance to remove it, if ever used.
* Fix issue when using Metadata Endpoint with OIDC PreConfigured server.fix-metadata-openid-serverJonathan Huot2018-12-141-2/+4
|
* 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-201-0/+11
| | | | import oauthlib.oauth2.Server must be replaced with oauthlib.openid.Server
* Fix OIDC tests (#565)Pieter Ennes2018-09-213-17/+19
| | | | | | | | | | | | * Unmute ignored OIDC tests. * Fix more import errors. * Remove recently invalidated test for id_token_hint. * Fix tested grants. * Fix import on py27.
* redid the docstring fixesjonathan vanasco2018-09-101-7/+14
|
* The id_token_hint parameter isn't required by the OIDC spec. (#559)Pieter Ennes2018-07-021-6/+0
|
* OpenID Connect split (#525)Wiliam Souza2018-06-0512-0/+1003
* Add command to clean up builds to makefile * Fix docs strings for endpoints pre_configured * Chnage grant_types.openid_connect to include a deprecation warning be a backward compatible * Fix doc string for rfc6749.request_validator * Remove unused import * Change import to be explicity * Move JWTTokenTestCase to openid.connect.core.test_token * Move JWTToken to oauthlib.openid.connect.core.tokens * Move to openid connect test * Move openid connect exceptions to its own file * Remove openid connect from oauth2 server * Remove JWTToken from oauth tokens * Remove grant_types.openid_connect file * Add oauthlib/openid estructure and tests