Skip to content

Commit 8ab303f

Browse files
author
hzoppetti
committed
initial commit
1 parent 4393650 commit 8ab303f

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

openapi.yaml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,15 @@ info:
5252
application can start making API calls on the User's behalf. If all you need
5353
is a Personal Access Token, feel free to skip ahead to the next section.
5454

55-
First, the User visits the application's website and is directed to log with
56-
Linode. The User is then redirected to Linode's authentication server and
57-
presented the scope levels the application is requesting. Once the User
58-
accepts the request for access, we redirect them back to the application's
55+
1. The User visits the application's website and is directed to log in with
56+
Linode.
57+
1. The User is then redirected to Linode's authentication server and presented with
58+
the scope levels the application is requesting.
59+
1. Once the User accepts the request for access, we redirect them back to the application's
5960
specified redirect URI with an access code.
6061

61-
Once the User has logged in to Linode and you have received an exchange code,
62-
you will need to exchange that access code for an Authorization token. You
62+
Once the User has logged into Linode and you have received an exchange code,
63+
you will need to trade that exchange code for an Authorization token. You
6364
do this by making an HTTP POST request to the following address:
6465

6566
```
@@ -69,11 +70,11 @@ info:
6970
Make this request as `application/x-www-form-urlencoded` or as
7071
`multipart/form-data` and include the following parameters in the POST body:
7172

72-
| PARAMETER | DESCRIPTION |
73-
|-----------|-------------|
74-
| client_id | Your app's client ID |
75-
| client_secret | Your app's client secret |
76-
| code | The code you just received from the redirect |
73+
| PARAMETER | DESCRIPTION | FIND OR UPDATE THIS INFORMATION |
74+
|-----------|-------------|---------------------------------|
75+
| client_id | Your app's client ID. | [List your OAuth Clients](https://developers.linode.com/api/v4/account-oauth-clients). |
76+
| client_secret | Your app's client secret. | [View your OAuth Client](https://developers.linode.com/api/v4/account-oauth-clients-client-id). [Reset Your OAuth Client Secret](https://developers.linode.com/api/v4/account-oauth-clients-client-id-reset-secret/#post). |
77+
| code | The code you just received from the redirect | [View your OAuth Client](https://developers.linode.com/api/v4/account-oauth-clients-client-id). [Reset Your OAuth Client Secret](https://developers.linode.com/api/v4/account-oauth-clients-client-id-reset-secret/#post). |
7778

7879
You'll get a reponse like this:
7980

0 commit comments

Comments
 (0)