Skip to content

Commit 7d71f2d

Browse files
akanstantsinaudopry
authored andcommitted
Updated documentation
1 parent 8ad8d25 commit 7d71f2d

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed
106 KB
Loading
97 KB
Loading

docs/tutorial/tutorial_01.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,10 @@ point your browser to http://localhost:8000/o/applications/ and add an Applicati
9191
specifies one of the verified redirection uris. For this tutorial, paste verbatim the value
9292
`https://www.getpostman.com/oauth2/callback`
9393

94-
* `Allowed origins`: Web applications use Cross-Origin Resource Sharing (CORS) to request resources from origins other than their own.
95-
You can provide list of origins of web applications that will have access to the token endpoint of :term:`Authorization Server`.
96-
This setting controls only token endpoint and it is not related with Django CORS Headers settings.
94+
* `Allowed origins`: Web applications use Cross-Origin Resource Sharing (CORS) to request resources from origins other
95+
than their own. You can provide list of origins of web applications that will have access to the token endpoint
96+
of :term:`Authorization Server`. This setting controls only token endpoint and it is not related
97+
with Django CORS Headers settings.
9798

9899
* `Client type`: this value affects the security level at which some communications between the client application and
99100
the authorization server are performed. For this tutorial choose *Confidential*.

oauth2_provider/templates/oauth2_provider/application_detail.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ <h3 class="block-center-heading">{{ application.name }}</h3>
4040
<p><b>{% trans "Post Logout Redirect Uris" %}</b></p>
4141
<textarea class="input-block-level" readonly>{{ application.post_logout_redirect_uris }}</textarea>
4242
</li>
43+
44+
<li>
45+
<p><b>{% trans "Allowed Origins" %}</b></p>
46+
<textarea class="input-block-level" readonly>{{ application.allowed_origins }}</textarea>
47+
</li>
4348
</ul>
4449

4550
<div class="btn-toolbar">

0 commit comments

Comments
 (0)