cloudflare / cloudflare/cloudflared

💡 INF level log after successful token retrieval

Open
#839 0 comments 0 reactions 0 assignees View on GitHub
Area: Access Priority: Normal Type: Feature Request
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

## Describe the feature you'd like
When the user is redirected to a browser to complete authentication, there is no immediate STDOUT INF log that indicates whether a token was retrieved successfully or not.

![image](https://user-images.githubusercontent.com/446329/206061482-e077c84a-9a07-44ff-b9c4-6f8c1d2cbfe2.png)

This limits the automation of cloudflared as there's no way to know if the connection was actually auth'd or not.

## Describe alternatives you've considered
At the moment I just use an arbitrary sleep to guess when it might have been approved.

I have seen the following pop up after some time (Windows) but it doesn't appear until a few minutes after. Perhaps a log flushing issue?
![image](https://user-images.githubusercontent.com/446329/206060642-bd18e4e4-fbde-49d4-8cda-5c466e9dd547.png)

## Additional context
![image](https://user-images.githubusercontent.com/446329/206060855-8aef9390-1699-4df3-ac8b-aafa82dc2889.png)

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.