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
+6-14Lines changed: 6 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,25 +8,23 @@ 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),
12
-
you will need to install the `django-cors-headers <https://github.com/ottoyiu/django-cors-headers>`_ app.
11
+
Since the domain that will originate the request (the app on Heroku) is different than the destination domain (your local instance), you will need to use the cors-middleware that we're providing.
13
12
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
13
15
-
Create a virtualenv and install `django-oauth-toolkit` and `django-cors-headers`:
14
+
Create a virtualenv and install `django-oauth-toolkit`:
0 commit comments