hwo to connect zero trust on headless server

What is the name of the domain?

example.com

What is the issue you’re encountering

I am unable to complete the Zero Trust registration process for a headless Linux server using warp-cli. The warp-cli registration new <my_organization_name> command generates a URL that needs to be visited in a browser for device authorization. After authorizing the device in a browser on a separate machine (since the server is headless), I receive a token. However, I cannot find a way to input this token into warp-cli on the server to complete the registration. There is no documented command or option within warp-cli to manually enter the authorization token.

What steps have you taken to resolve the issue?

I ran the command warp-cli registration new <my_organization_name> on the headless server.

I copied the generated URL and opened it in a browser on my personal computer.

I successfully authorized the device in the browser and obtained an authorization token.

I searched through the warp-cli --help output for a command or option to input the authorization token, but found nothing relevant.

I searched online for solutions, but the ones I found involved commands like warp-cli teams-enroll <your_team_name> which appear to be deprecated in the current version of warp-cli and are no longer available.

Hi there,

Take a look here:

Take care.