This commit is contained in:
juanifioren 2015-01-09 15:11:17 -03:00
commit f10d307fa4

View file

@ -21,7 +21,7 @@ Install the package using pip.
pip install https://github.com/juanifioren/django-openid-provider/archive/master.zip
Add it to your proyect apps.
Add it to your apps.
.. code:: python
@ -36,7 +36,7 @@ Add it to your proyect apps.
# ...
)
Add the provider urls to your proyect.
Add the provider urls.
.. code:: python
@ -70,6 +70,8 @@ Then let's create a Client. Start django shell: ``python manage.py shell``.
/authorize endpoint
*******************
Example of an OpenID Authentication Request using the ´´Authorization Code´´ flow.
.. code:: curl
GET /openid/authorize?client_id=123&redirect_uri=http%3A%2F%2Fexample.com%2F&response_type=code&scope=openid%20profile%20email&state=abcdefgh HTTP/1.1