mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 01:10:58 +01:00
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
This commit is contained in:
parent
3de3a72dd8
commit
e74f027f0a
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue