Skip to content

Commit

Permalink
Fix lethal typo in OAuth flow: "grant" has no D.
Browse files Browse the repository at this point in the history
Signed-off-by: Seltyk <[email protected]>
  • Loading branch information
Seltyk committed Jul 31, 2023
1 parent 506f501 commit 5035c4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/login.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The Client Application must make the following request in order to facilitate th
URL: https://augur.example.com/api/unstable/user/session/generate
arguments:
code: [the temporary authorization code]
grand_type: "code"
grant_type: "code"
headers:
Authorization: Client [your client secret]
Expand Down Expand Up @@ -101,7 +101,7 @@ The application may also attempt automatic reauthorization using the previously
URL: https://augur.example.com/api/unstable/user/session/refresh
arguments:
refresh_token: [the previously provided refresh token]
grand_type: "refresh_token"
grant_type: "refresh_token"
headers:
Authorization: Client [your client secret]
Expand Down

0 comments on commit 5035c4b

Please sign in to comment.