Page MenuHomePhabricator

D13240.id32014.diff
No OneTemporary

D13240.id32014.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 `https://phabricator.example.com/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 `https://phabricator.example.com/oauthserver/token`
with the following parameters:
- Required - **client_id** - the id of the client
@@ -101,7 +101,7 @@
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
+```https://phabricator.example.com/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
Fri, Apr 18, 11:44 AM (4 d, 19 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7720458
Default Alt Text
D13240.id32014.diff (1 KB)

Event Timeline