django-oidc-provider/oidc_provider/tests
Tuomas Suutari 5165312d01 Use stored user consent for public clients too (#189)
When using Implicit Flow, it should be OK to use the stored user consent
even if the client is public.  The redirect uri checks should make sure
that the stored consent of another client cannot be misused to get a
consent to a site that is not related to the client.

It is also important to support this, since public clients using
Implicit Flow do not have a refresh token to update their access tokens,
so only way to keep their login session open is by issuing authorization
requests from an iframe with the "prompt=none" parameter (which does not
work without the previously stored consent).  See the following links
for more info and examples on how to renew the access token with SPAs:

https://auth0.com/docs/api-auth/tutorials/silent-authentication#refresh-expired-tokens

https://damienbod.com/2017/06/02/

https://github.com/IdentityServer/IdentityServer3/issues/719#issuecomment-230145034
2017-07-07 13:18:36 +02:00
..
app Adds per-client consent customization 2017-04-11 13:16:06 -07:00
templates/accounts Clean templates in tests. 2015-06-23 15:05:47 -03:00
__init__.py Change name of the package. 2015-02-18 15:07:22 -03:00
test_authorize_endpoint.py Use stored user consent for public clients too (#189) 2017-07-07 13:18:36 +02:00
test_claims.py Fix translations handling 2016-11-24 13:09:19 +01:00
test_commands.py Add new test for migrations. 2016-08-11 16:43:30 -03:00
test_end_session_endpoint.py Merge develop to v0.5.x (#179) 2017-05-05 05:19:57 +02:00
test_middleware.py Merge develop to v0.5.x (#179) 2017-05-05 05:19:57 +02:00
test_provider_info_endpoint.py Fix urls and names. 2016-11-01 12:15:48 -03:00
test_settings.py Merge develop to v0.5.x (#179) 2017-05-05 05:19:57 +02:00
test_token_endpoint.py Redirect URIs must match exactly. (#191) 2017-07-07 09:07:21 +02:00
test_userinfo_endpoint.py Refactoring create_id_token function. 2016-09-09 13:10:12 -03:00
test_utils.py Merge develop to v0.5.x (#179) 2017-05-05 05:19:57 +02:00