|
1 | 1 | ::: note
|
2 |
| -This tutorial will help you call your own API from an input-constrained device using the Device Authorization Flow. If you want to learn how the flow works and why you should use it, see [Device Authorization Flow](/flows/concepts/device-auth). |
| 2 | +This tutorial will help you call your own API from an input-constrained device using the Device Authorization Flow. If you want to learn how the flow works and why you should use it, see <a href="/flows/concepts/device-auth" target="_blank" rel="noreferrer">Device Authorization Flow</a>. |
3 | 3 | :::
|
4 | 4 |
|
5 | 5 | Auth0 makes it easy for your app to implement the Device Authorization flow using:
|
6 | 6 |
|
7 |
| -* Authentication API: Keep reading to learn how to call our API directly. For an interactive experience, see our [Device Flow Playground](https://auth0.github.io/device-flow-playground/). |
| 7 | +* Authentication API: Keep reading to learn how to call our API directly. For an interactive experience, see our <a href="https://auth0.github.io/device-flow-playground/" target="_blank" rel="noreferrer">Device Flow Playground</a>. |
8 | 8 |
|
9 | 9 | ## Prerequisites
|
10 | 10 |
|
11 | 11 | **Before beginning this tutorial:**
|
12 | 12 |
|
13 | 13 | * Check [limitations](#limitations) to be sure the Device Authorization flow is suitable for your implementation.
|
14 | 14 |
|
15 |
| -* [Register the Application with Auth0](/dashboard/guides/applications/register-app-native). |
| 15 | +* <a href="/dashboard/guides/applications/register-app-native" target="_blank" rel="noreferrer">Register the Application with Auth0</a>. |
16 | 16 | * Select an **Application Type** of **Native**.
|
17 | 17 | * If necessary, set **Allowed Web Origins**. You can use this to allow localhost as an origin for local development, or to set an allowed origin for specific TV software with architecture subject to CORS (eg: HTML5 + JS). Most applications will not use this setting.
|
18 |
| - * Ensure that the **OIDC Conformant** toggle is enabled. This setting is in the [Dashboard](${manage_url}) under **Application Settings > Advanced > OAuth**. |
19 |
| - * Make sure the Application's **[Grant Types](/dashboard/guides/applications/update-grant-types)** include **Device Code**. This is also in the [Dashboard](${manage_url}), under **Application Settings > Advanced > Grant Types**. |
20 |
| - * If you want your Application to be able to use [Refresh Tokens](/tokens/concepts/refresh-tokens), make sure the Application's **[Grant Types](/dashboard/guides/applications/update-grant-types)** include **Refresh Token**. |
| 18 | + * Ensure that the **OIDC Conformant** toggle is enabled. This setting is in the <a href="${manage_url}" target="_blank" rel="noreferrer">Dashboard</a> under **Application Settings > Advanced > OAuth**. |
| 19 | + * Make sure the Application's <a href="/dashboard/guides/applications/update-grant-types" target="_blank" rel="noreferrer">**Grant Types**</a> include **Device Code**. This is also in the <a href="${manage_url}" target="_blank" rel="noreferrer">Dashboard</a>, under **Application Settings > Advanced > Grant Types**. |
| 20 | + * If you want your Application to be able to use <a href="/tokens/concepts/refresh-tokens" target="_blank" rel="noreferrer">Refresh Tokens</a>, make sure the Application's <a href="/dashboard/guides/applications/update-grant-types" target="_blank" rel="noreferrer">**Grant Types**</a> include **Refresh Token**. |
21 | 21 |
|
22 |
| -* Set up and enable at least one connection for the Application: [Database connections](/dashboard/guides/connections/set-up-connections-database), [Social connections](/dashboard/guides/connections/set-up-connections-social) |
| 22 | +* Set up and enable at least one connection for the Application: <a href="/dashboard/guides/connections/set-up-connections-database" target="_blank" rel="noreferrer">Database connections</a>, <a href="/dashboard/guides/connections/set-up-connections-social" target="_blank" rel="noreferrer">Social connections</a> |
23 | 23 |
|
24 |
| -* [Register your API with Auth0](/architecture-scenarios/mobile-api/part-2#create-the-api) |
25 |
| - * If you want your API to receive [Refresh Tokens](/tokens/concepts/refresh-tokens) to allow it to obtain new tokens when the previous ones expire, enable **Allow Offline Access**. |
| 24 | +* <a href="/architecture-scenarios/mobile-api/part-2#create-the-api" target="_blank" rel="noreferrer">Register your API with Auth0</a> |
| 25 | + * If you want your API to receive <a href="/tokens/concepts/refresh-tokens" target="_blank" rel="noreferrer">Refresh Tokens</a> to allow it to obtain new tokens when the previous ones expire, enable **Allow Offline Access**. |
26 | 26 |
|
27 |
| -* [Configure Device User Code Settings](/dashboard/guides/tenants/configure-device-user-code-settings) to define the character set, format, and length of your randomly-generated user code. |
| 27 | +* <a href="/dashboard/guides/tenants/configure-device-user-code-settings" target="_blank" rel="noreferrer">Configure Device User Code Settings</a> to define the character set, format, and length of your randomly-generated user code. |
28 | 28 |
|
29 | 29 | ## Steps
|
30 | 30 |
|
@@ -60,7 +60,7 @@ Optional: [Troubleshooting](#troubleshooting)
|
60 | 60 |
|
61 | 61 | ## Keep reading
|
62 | 62 |
|
63 |
| -- [The OAuth 2.0 protocol](/protocols/oauth2) |
64 |
| -- [The OpenID Connect protocol](/protocols/oidc) |
65 |
| -- [Tokens](/tokens) |
66 |
| -- [Tenant Logs for Devices](/logs) |
| 63 | +- <a href="/protocols/oauth2" target="_blank" rel="noreferrer">The OAuth 2.0 protocol</a> |
| 64 | +- <a href="/protocols/oidc" target="_blank" rel="noreferrer">The OpenID Connect protocol</a> |
| 65 | +- <a href="/tokens" target="_blank" rel="noreferrer">Tokens</a> |
| 66 | +- <a href="/logs" target="_blank" rel="noreferrer">Tenant Logs for Devices</a> |
0 commit comments