You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorial/tutorial_01.rst
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ You want to make your own :term:`Authorization Server` to issue access tokens to
8
8
Start Your App
9
9
--------------
10
10
During this tutorial you will make an XHR POST from a Heroku deployed app to your localhost instance.
11
-
Since the domain that will originate the request (the app on Heroku) is different than the destination domain (your local instance),
11
+
Since the domain that will originate the request (the app on Heroku) is different from the destination domain (your local instance),
12
12
you will need to install the `django-cors-headers <https://github.com/ottoyiu/django-cors-headers>`_ app.
13
13
These "cross-domain" requests are by default forbidden by web browsers unless you use `CORS <http://en.wikipedia.org/wiki/Cross-origin_resource_sharing>`_.
14
14
@@ -67,7 +67,7 @@ for details on using login templates.
67
67
68
68
<inputtype="hidden"name="next"value="{{ next }}" />
69
69
70
-
As a final step, execute migrate command, start the internal server, and login with your credentials.
70
+
As a final step, execute the migrate command, start the internal server, and login with your credentials.
71
71
72
72
Create an OAuth2 Client Application
73
73
-----------------------------------
@@ -78,11 +78,11 @@ the API, subject to approval by its users.
78
78
Let's register your application.
79
79
80
80
Point your browser to http://localhost:8000/o/applications/ and add an Application instance.
81
-
`Client id` and `Client Secret` are automatically generated, you have to provide the rest of the informations:
81
+
`Client id` and `Client Secret` are automatically generated; you have to provide the rest of the informations:
82
82
83
83
* `User`: the owner of the Application (e.g. a developer, or the currently logged in user.)
84
84
85
-
* `Redirect uris`: Applications must register at least one redirection endpoint prior to utilizing the
85
+
* `Redirect uris`: Applications must register at least one redirection endpoint before using the
86
86
authorization endpoint. The :term:`Authorization Server` will deliver the access token to the client only if the client
87
87
specifies one of the verified redirection uris. For this tutorial, paste verbatim the value
0 commit comments