Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To enroll your device using the terminal:
3. Enroll into Cloudflare Zero Trust using your organization's <GlossaryTooltip term="team name">team name</GlossaryTooltip>:

```sh
warp-cli teams-enroll <your-team-name>
warp-cli registration new <your-team-name>
```

4. In the browser window that opens, complete the authentication steps required by your organization.
Expand All @@ -44,23 +44,23 @@ To enroll your device using the terminal:
6. Verify the registration in the terminal:

```sh
warp-cli account
warp-cli registration show
```

<Details header="Troubleshoot missing registration">

The registration process may take a few minutes to complete. If the registration continues to be missing, then manually copy the authentication token from the browser to the WARP client:

1. On the success page, right-click and select **View Page Source**.
2. Find the HTML metadata tag that contains the token. For example, `<meta http-equiv="refresh" content"=0;url=com.cloudflare.warp://acmecorp.cloudflareaccess.com/auth?token=yeooilknmasdlfnlnsadfojDSFJndf_kjnasdf..." />`
2. Find the HTML metadata tag that contains the token. For example, `<meta http-equiv="refresh" content"=0;url=com.cloudflare.warp://<your-team-name>.cloudflareaccess.com/auth?token=yeooilknmasdlfnlnsadfojDSFJndf_kjnasdf..." />`
3. Copy the URL field: `com.cloudflare.warp://<your-team-name>.cloudflareaccess.com/auth?token=<your-token>`
4. In the terminal, run the following command using the URL obtained in the previous step.

```sh
warp-cli teams-enroll-token com.cloudflare.warp://<your-team-name>.cloudflareaccess.com/auth?token=<your-token>
warp-cli registration token "com.cloudflare.warp://<your-team-name>.cloudflareaccess.com/auth?token=<your-token>"
```

If you get an API error, then the token has expired. Generate a new one by refreshing the web page and quickly grab the new token from the page source.
If you get a `401` error, then the token has expired. Generate a new one by refreshing the web page and quickly grab the new token from the page source.

</Details>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ In this example, we will create a WARP Connector for subnet `10.0.0.0/24` and in
3. Verify the registration:

```sh
warp-cli account
warp-cli registration show
```

```sh output
Expand All @@ -148,7 +148,7 @@ In this example, we will create a WARP Connector for subnet `10.0.0.0/24` and in
```
- Clear an old registration and trigger WARP to re-register:
```sh
sudo warp-cli delete
sudo warp-cli registration delete
```
- Review your [WARP daemon logs](/cloudflare-one/connections/connect-devices/warp/troubleshooting/warp-logs/) for information about why the registration is failing.

Expand All @@ -162,7 +162,6 @@ In this example, we will create a WARP Connector for subnet `10.0.0.0/24` and in

```sh output
Status update: Connected
Success
```

<Details header="Troubleshoot connection">
Expand Down
Loading