From e74f027f0ac233fdd08e94b2296b526b9ebcf233 Mon Sep 17 00:00:00 2001 From: Paul Kassianik Date: Sat, 13 Jun 2015 19:44:28 -0700 Subject: [PATCH] Clarifiying Documentation Links Summary: Fixes T8487. Test Plan: Verify that links are clear at Diviner > Phabricator Contributor Docs > Using the Phabricator OAuth Server. Reviewers: lpriestley, #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T8487 Differential Revision: https://secure.phabricator.com/D13240 --- src/docs/contributor/using_oauthserver.diviner | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/docs/contributor/using_oauthserver.diviner b/src/docs/contributor/using_oauthserver.diviner index ff6f33a0c1..b09f595a5a 100644 --- a/src/docs/contributor/using_oauthserver.diviner +++ b/src/docs/contributor/using_oauthserver.diviner @@ -35,13 +35,13 @@ clients that implement OAuth 2.0. = Setup - Creating a Client = -# Visit https://phabricator.example.com/oauthserver/client/create/ +# Visit {nav Your Local Install > OAuth Server > Create Application} # 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 @@ and include the pertinent error information. = 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 @@ message. 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