Add doc to tests.
This commit is contained in:
parent
e64612cc40
commit
e40a62cecc
2 changed files with 10 additions and 1 deletions
|
@ -2,7 +2,9 @@
|
|||
Django OIDC Provider
|
||||
####################
|
||||
|
||||
OpenID Connect Provider implementation for Django. Read docs for more info. https://github.com/juanifioren/django-oidc-provider/wiki
|
||||
OpenID Connect Provider implementation for Django.
|
||||
|
||||
Read docs for more info. https://github.com/juanifioren/django-oidc-provider/wiki
|
||||
|
||||
*************
|
||||
Running tests
|
||||
|
|
|
@ -99,6 +99,13 @@ class AuthorizationCodeFlowTestCase(TestCase):
|
|||
self.assertEqual(is_next_ok, True)
|
||||
|
||||
def test_authorize_user_consent(self):
|
||||
"""
|
||||
Once the End-User is authenticated, the Authorization Server MUST
|
||||
obtain an authorization decision before releasing information to
|
||||
the Client.
|
||||
|
||||
See: http://openid.net/specs/openid-connect-core-1_0.html#Consent
|
||||
"""
|
||||
response_type = 'code'
|
||||
|
||||
url = self._create_authorize_url(response_type=response_type)
|
||||
|
|
Loading…
Reference in a new issue