Skip to content

[Feature Request]: Show host name in verbose mode when providing token #466

@cweiske

Description

@cweiske

Feature Description

When trying to provide a token for our own expose server, I get an error: token is invalid.

I tried to debug if expose is really connecting to our own expose server or the public one, by providing -vvv (very very verbose) to the token command:

$ expose token 39de73c3-f3d9-4f31-87d2-aa2ac013e724 -vvv

Box Requirements Checker
========================

> Using PHP 8.2.29
> PHP is using the following php.ini file:
  /etc/php/8.2/cli/php.ini

> Checking Box requirements:
  ✔ This application requires a PHP version matching "^8.2".
  ✔ This application requires the extension "json".
  ✔ This application requires the extension "zlib".
  
                                                                                                                                                                                                                   
 [OK] Your system is ready to run the application.                                                                                                                                                                 
                                                                                                                                                                                                                   

  > Expose
     Token 39de73c3-f3d9-4f31-87d2-aa2ac013e724 is invalid. Please check your token and try again. If you don't have a token, visit expose.dev to create your free account.  
   
   Could not validate token. HTTP 404

It would be nice if the target host is shown when "verbose" is requested.

Is this feature valuable for other users as well and why?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions