171d4ac77c
Before this change, the only sure fire way to make sure you had a valid Access token was to run `cloudflared access login <your domain>`. That was because that command would actually make a preflight request to ensure that the edge considered that token valid. The most common reasons a token was no longer valid was expiration and revocation. Expiration is easy to check client side, but revocation can only be checked at the edge. This change adds the same flow that cfd access login did to the curl command. It will preflight the request with the token and ensure that the edge thinks its valid before making the real request. |
||
---|---|---|
.. | ||
access | ||
cliutil | ||
proxydns | ||
tail | ||
tunnel | ||
updater | ||
app_forward_service.go | ||
app_resolver_service.go | ||
app_service.go | ||
common_service.go | ||
generic_service.go | ||
linux_service.go | ||
macos_service.go | ||
main.go | ||
service_template.go | ||
windows_service.go |