@@ -69,7 +69,7 @@ redirect value. Django provides more information on `login templates here
6969
7070 <input type =" hidden" name =" next" value =" {{ next }}" />
7171
72- As a final step, make a syncdb, start the internal server and login into the admin with your credentials.
72+ As a final step, make a syncdb, start the internal server and login with your credentials.
7373
7474Create an OAuth2 Client Application
7575-----------------------------------
@@ -78,7 +78,7 @@ identified. This operation is usually done manually by a developer, who asks for
7878:term: `Authorization Server ` and gets access to some sort of backoffice where she can register her application, which
7979will act as a :term: `Client ` (or :term: `Application ` in the Django OAuth Toolkit lingo).
8080Let's perform exactly this operation.
81- In the admin, section ` Oauth2_Provider `, add an Application instance.
81+ Point your browser to ` http://localhost:8000/o/applications/ ` and add an Application instance.
8282`Client id ` and `Client Secret ` are automatically generated, you have to provide the rest of the informations:
8383
8484 * `User `: the owner of the Application (tipically a developer), could be the current logged in user.
@@ -116,8 +116,8 @@ to the authorization page.
116116
117117Authorize the application
118118+++++++++++++++++++++++++
119- When the user clicks the link, she is redirected to your (possibly local) :term: `Authorization Server `. If you're not logged in
120- in your Django admin , at this point you should be prompted for username and password. This is because the authorization
119+ When the user clicks the link, she is redirected to your (possibly local) :term: `Authorization Server `.
120+ If you're not logged in , at this point you should be prompted for username and password. This is because the authorization
121121page is login protected by django-oauth-toolkit. Login, then you should see the not so cute form user can use to give
122122her authorization to the client application. Flag the *Allow * checkbox and click *Authorize *, you will be redirected
123123again on the consumer service.
0 commit comments