Merge branch 'master' of https://github.com/juanifioren/django-openid-provider
This commit is contained in:
commit
f10d307fa4
|
@ -21,7 +21,7 @@ Install the package using pip.
|
||||||
pip install https://github.com/juanifioren/django-openid-provider/archive/master.zip
|
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
|
.. 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
|
.. code:: python
|
||||||
|
|
||||||
|
@ -70,6 +70,8 @@ Then let's create a Client. Start django shell: ``python manage.py shell``.
|
||||||
/authorize endpoint
|
/authorize endpoint
|
||||||
*******************
|
*******************
|
||||||
|
|
||||||
|
Example of an OpenID Authentication Request using the ´´Authorization Code´´ flow.
|
||||||
|
|
||||||
.. code:: curl
|
.. 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
|
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
|
||||||
|
|
Loading…
Reference in a new issue