Page MenuHomePhabricator

D13240.id32006.diff
No OneTemporary

D13240.id32006.diff

diff --git a/src/docs/contributor/using_oauthserver.diviner b/src/docs/contributor/using_oauthserver.diviner
--- a/src/docs/contributor/using_oauthserver.diviner
+++ b/src/docs/contributor/using_oauthserver.diviner
@@ -35,13 +35,13 @@
= Setup - Creating a Client =
-# Visit https://phabricator.example.com/oauthserver/client/create/
+# Visit {nav Install > /oauthserver/client/create}
# Fill out the form
# Profit
= Obtaining an Authorization Code =
-POST or GET https://phabricator.example.com/oauthserver/auth/ with the
+POST or GET {nav Install > /oauthserver/auth} with the
following parameters:
- Required - **client_id** - the id of the newly registered client.
@@ -76,7 +76,7 @@
= Obtaining an Access Token =
-POST or GET https://phabricator.example.com/oauthserver/token/
+POST or GET {nav Install > /oauthserver/token}
with the following parameters:
- Required - **client_id** - the id of the client
@@ -101,7 +101,8 @@
Simply include a query param with the key of "access_token" and the value
as the earlier obtained access token. For example:
-https://phabricator.example.com/api/user.whoami?access_token=ykc7ly7vtibj334oga4fnfbuvnwz4ocp
+{nav Install >
+name="/api/user.whoami?access_token=ykc7ly7vtibj334oga4fnfbuvnwz4ocp"}
If the token has expired or is otherwise invalid, the client will receive
an error indicating as such. In these cases, the client should re-initiate

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 18, 4:13 AM (4 d, 3 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7704419
Default Alt Text
D13240.id32006.diff (1 KB)

Event Timeline