Skip to content

Commit 539f7ca

Browse files
Claire edit for consistent style.
1 parent d3c96af commit 539f7ca

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

src/content/docs/authenticate/device-authorization-flow/quick-start.mdx

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,30 @@ relatedArticles:
88
- 888b1546-8047-4609-af59-8cf859527aa0
99
---
1010

11-
The Device authorization Flow allows users to authenticate on one device (like a TV or smart device) using another device (like a phone or computer). This is perfect for devices with limited input capabilities.
11+
The Device Authorization Flow allows users to authenticate on one device (like a TV or smart device) using another device (like a phone or computer). This is perfect for devices with limited input capabilities.
1212

1313
In this quick start, you'll learn how to implement the Device Authorization Flow using Kinde in just 5 minutes.
1414

1515
## Prerequisites
1616

1717
- `curl` or a similar HTTP client
1818

19-
## Step 1 - Create a Device Authorization app
19+
## Step 1: Create a Device Authorization app
2020

21-
1. From the home page select **Add application**
22-
2. Enter a name
23-
3. Choose **Device and IoT**
24-
4. Select **Save**
25-
5. Make a note of the Client ID, you'll need this later
21+
1. From the Kinde home page select **Add application**.
22+
2. Enter a name for the application.
23+
3. Choose **Device and IoT**.
24+
4. Select **Save**.
25+
5. Make a note of the Client ID, you'll need this later.
2626

27-
## Step 2 - Enable an authentication method for your application
27+
## Step 2: Enable an authentication method for your application
2828

29-
1. Select **Authentication** from the left hand menu
30-
2. Select **Configure** on the **Passwordless** > **Email + code** card
31-
3. Under **Applications** select the application you created in step 1
32-
4. Select **Save**
29+
1. Go to **Settings > Authentication**.
30+
2. Select **Configure** on the **Passwordless** > **Email + code** card.
31+
3. Under **Applications** select the application you created in step 1.
32+
4. Select **Save**.
3333

34-
## Step 3 - Request a device code
34+
## Step 3: Request a device code
3535

3636
Request a device code from Kinde's authorization endpoint:
3737

@@ -56,14 +56,14 @@ The response will include a `device_code`, `user_code`, and `verification_uri`:
5656
}
5757
```
5858

59-
## Step 4 - Display the user code
59+
## Step 4: Display the user code
6060

6161
Show the `user_code` to the user and provide the `verification_uri_complete` or QR code from the response. The user should:
6262

63-
1. Visit the `verification_uri_complete` URL on their phone or computer
64-
2. Complete the authentication process
63+
1. Visit the `verification_uri_complete` URL on their phone or computer.
64+
2. Complete the authentication process.
6565

66-
## Step 5 - Poll for the access token
66+
## Step 5: Poll for the access token
6767

6868
While the user is authenticating, poll the token endpoint:
6969

@@ -86,7 +86,7 @@ Continue polling every 5 seconds (or the `interval` value from the response) unt
8686
}
8787
```
8888

89-
## Step 6 - Use the access token
89+
## Step 6: Use the access token
9090

9191
Once you have received the access token, you can call your protected APIs:
9292

@@ -95,7 +95,7 @@ curl -X GET https://your-api.com/protected-resource \
9595
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
9696
```
9797

98-
## Useful tips
98+
## Set an app as default
9999

100100
You can set an application to be the default for device flows. This will be the application that is used if no Client ID is specified in the request.
101101

0 commit comments

Comments
 (0)