You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pain point around error messaging for self-hosted using Cloudflare Zero Trust.
Requirements
Currently, when PORTER_CF_ACCESS_TOKEN is null or the token is invalid the CLI responds with the following error.
Error: invalid character '<' looking for beginning of value
Would be nice to:
catch this and display a different message relating to failed authentication.
bonus if the message could be parsed or the PORTER_HOST checked to see if its 'self hosted' to then hint towards docs
Additional Details
The following command could also be added to the docs. export PORTER_CF_ACCESS_TOKEN=$(cloudflared access token -app=https://porter.my-cloudflare-domain.com)