exposedev / exposedev/expose

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

Open
#466 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
4.6k
Forks
308
PR merge metrics
No merged PRs in 30d

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.